mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
fix windows debugfast build and warning fix in SDCardUtil.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3225 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
136dc16f94
commit
32fff6db74
3 changed files with 12 additions and 10 deletions
|
@ -171,11 +171,11 @@ static int write_empty(FILE* file, u64 count)
|
|||
count *= 512;
|
||||
while (count > 0)
|
||||
{
|
||||
int len = sizeof(empty);
|
||||
u64 len = sizeof(empty);
|
||||
if (len > count)
|
||||
len = count;
|
||||
|
||||
if ( fwrite(empty, 1, len, file) != (size_t)len )
|
||||
if ( fwrite(empty, 1, (size_t)len, file) != (size_t)len )
|
||||
return 1;
|
||||
|
||||
count -= len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue