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;

View File

@ -675,10 +675,6 @@
RelativePath=".\Src\HW\SystemTimers.h"
>
</File>
<File
RelativePath=".\Src\HW\BBA-TAP\TAP_Win32.cpp"
>
</File>
<Filter
Name="EXI - Expansion Interface"
>
@ -750,6 +746,10 @@
RelativePath=".\Src\HW\Sram.h"
>
</File>
<File
RelativePath=".\Src\HW\BBA-TAP\TAP_Win32.cpp"
>
</File>
</Filter>
<Filter
Name="SI - Serial Interface"

View File

@ -611,10 +611,12 @@ Global
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Debug|Win32.Build.0 = Debug|Win32
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Debug|x64.ActiveCfg = Debug|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Debug|x64.Build.0 = Debug|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|Win32.ActiveCfg = Debug|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|x64.ActiveCfg = Debug|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|x64.Build.0 = Debug|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Release_JITIL|Win32.ActiveCfg = Release|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|Win32.ActiveCfg = Release|Win32
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|Win32.Build.0 = Release|Win32
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|x64.ActiveCfg = Release|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.DebugFast|x64.Build.0 = Release|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Release_JITIL|Win32.ActiveCfg = Release|Win32
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Release_JITIL|Win32.Build.0 = Release|Win32
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Release_JITIL|x64.ActiveCfg = Release|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Release_JITIL|x64.Build.0 = Release|x64
{823DDC98-42D5-4A38-88CF-9DC06C788AE4}.Release|Win32.ActiveCfg = Release|Win32