Merge pull request #2961 from lioncash/printf

General: Toss out PRI macro usage
This commit is contained in:
Scott Mansell
2015-09-06 21:02:22 +12:00
35 changed files with 71 additions and 76 deletions

View File

@ -206,7 +206,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_%" PRIx64 ".cache",
Filename.append(StringFromFormat("%s_%x_%llx.cache",
extension.c_str(), HashFletcher((const u8 *)LegalPathname.c_str(), LegalPathname.size()),
File::GetSize(m_FileName)));

View File

@ -112,7 +112,7 @@ CISOProperties::CISOProperties(const std::string& fileName, wxWindow* parent, wx
u8 game_id_bytes[8];
if (OpenISO->GetTitleID(game_id_bytes))
{
game_id = StringFromFormat("%016" PRIx64, Common::swap64(game_id_bytes));
game_id = StringFromFormat("%016llx", Common::swap64(game_id_bytes));
}
}