summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-12-05 18:22:41 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-12-05 18:22:41 +0000
commit738e5e55ee5a699d1a781d993fdb6915f9d74ad4 (patch)
tree8962f504beafdd62ef65f6bf96272ea4ce8bc4eb /Source/Core/DiscIO/Src/BannerLoaderGC.cpp
parentd171f7277b37da3603930e625231a053b21ea1c4 (diff)
Cast size_t to unsigned long for printf to deal with (32-bit)
systems where size_t is typedef int. It's either this or use the C99 %zu but while we can probably safely assume C99 compilers, I am not at all sure that that's the case for stdio libraries and this solution is fairly low-impact. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6535 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoaderGC.cpp')
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderGC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
index d8b8917795..1e341468c6 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
+++ b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
@@ -44,7 +44,8 @@ CBannerLoaderGC::CBannerLoaderGC(DiscIO::IFileSystem& _rFileSystem)
else m_IsValid = true;
}
}
- else WARN_LOG(DISCIO, "Invalid opening.bnr size: %0lx", FileSize);
+ else WARN_LOG(DISCIO, "Invalid opening.bnr size: %0lx",
+ (unsigned long)FileSize);
}