summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ISOFile.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2014-02-12 21:08:23 +0100
committerTillmann Karras <tilkax@gmail.com>2014-02-13 09:02:43 +0100
commit2ff794d299b0426d1f2a523523260efad84a9837 (patch)
tree8dc4d420975cbbdec1bf02d878d3682effe7bea0 /Source/Core/DolphinWX/ISOFile.cpp
parent88526be3b5cfc33436d4390935d7982c4795520a (diff)
Fix some warnings
Diffstat (limited to 'Source/Core/DolphinWX/ISOFile.cpp')
-rw-r--r--Source/Core/DolphinWX/ISOFile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp
index 5aa02f5df1..cb3e01eda4 100644
--- a/Source/Core/DolphinWX/ISOFile.cpp
+++ b/Source/Core/DolphinWX/ISOFile.cpp
@@ -5,6 +5,7 @@
#include <string>
#include <vector>
#include <wx/mstream.h>
+#include <cinttypes>
#include "Common.h"
#include "CommonPaths.h"
@@ -188,7 +189,7 @@ std::string GameListItem::CreateCacheFilename()
// Filename.extension_HashOfFolderPath_Size.cache
// Append hash to prevent ISO name-clashing in different folders.
- Filename.append(StringFromFormat("%s_%x_%zx.cache",
+ Filename.append(StringFromFormat("%s_%x_%" PRIx64 ".cache",
extension.c_str(), HashFletcher((const u8 *)LegalPathname.c_str(), LegalPathname.size()),
File::GetSize(m_FileName)));