summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-05-14 00:19:35 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-05-14 00:19:35 +0000
commit32fff6db748c5df3742409cf2df06723611c75ea (patch)
treedceffecbcecf69d774577290096007d4c3822a0e /Source/Core
parent136dc16f947832dcc0d0b1faf9cfc35a71062f02 (diff)
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
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/SDCardUtil.cpp4
-rw-r--r--Source/Core/Core/Core.vcproj8
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Common/Src/SDCardUtil.cpp b/Source/Core/Common/Src/SDCardUtil.cpp
index 1638ede08c..27d4895d2c 100644
--- a/Source/Core/Common/Src/SDCardUtil.cpp
+++ b/Source/Core/Common/Src/SDCardUtil.cpp
@@ -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;
diff --git a/Source/Core/Core/Core.vcproj b/Source/Core/Core/Core.vcproj
index b735f21ef5..a157cf6729 100644
--- a/Source/Core/Core/Core.vcproj
+++ b/Source/Core/Core/Core.vcproj
@@ -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"