From 9da4fe086b3f7c0c2e310c3b6438ed131fb13ff2 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 5 Dec 2010 09:04:34 +0000 Subject: allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6522 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/Src/FileUtil.cpp') diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 2813eb6203..ee9fa6facd 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -337,7 +337,7 @@ u64 GetSize(const char *filename) // on windows it's actually _stat64 defined in commonFuncs struct stat64 buf; if (stat64(filename, &buf) == 0) { - DEBUG_LOG(COMMON, "GetSize: %s: %ld", filename, buf.st_size); + DEBUG_LOG(COMMON, "GetSize: %s: %lld", filename, buf.st_size); return buf.st_size; } -- cgit v1.2.3