Fix some warnings

This commit is contained in:
Tillmann Karras
2014-02-12 21:08:23 +01:00
parent 88526be3b5
commit 2ff794d299
4 changed files with 6 additions and 4 deletions

View File

@ -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)));