From 32fff6db748c5df3742409cf2df06723611c75ea Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 14 May 2009 00:19:35 +0000 Subject: [PATCH] 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 --- Source/Core/Common/Src/SDCardUtil.cpp | 4 ++-- Source/Core/Core/Core.vcproj | 8 ++++---- Source/Dolphin.sln | 10 ++++++---- 3 files changed, 12 insertions(+), 10 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" > - - @@ -750,6 +746,10 @@ RelativePath=".\Src\HW\Sram.h" > + +