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:
Shawn Hoffman
2009-05-14 00:19:35 +00:00
parent 136dc16f94
commit 32fff6db74
3 changed files with 12 additions and 10 deletions

View File

@ -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;