Cast the result of GetSize() to "unsigned long long".

Squelches a warning on Mac OS X.
This commit is contained in:
Augustin Cavalier 2014-11-29 09:34:19 -05:00
parent 43473e09d1
commit 320c5f2545

View File

@ -225,9 +225,9 @@ QString GameFile::CreateCacheFilename()
// Filename.extension_HashOfFolderPath_Size.cache
// Append hash to prevent ISO name-clashing in different folders.
filename.append(StringFromFormat("%s_%x_%lx.qcache",
filename.append(StringFromFormat("%s_%x_%llx.qcache",
extension.c_str(), HashFletcher((const u8*)pathname.c_str(), pathname.size()),
File::GetSize(m_file_name.toStdString())));
(unsigned long long)File::GetSize(m_file_name.toStdString())));
QString fullname = QString::fromStdString(File::GetUserPath(D_CACHE_IDX));
fullname += QString::fromStdString(filename);