mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Fix several errors and warnings from GCC compilation
This commit is contained in:
@ -520,7 +520,7 @@ bool plFileUtils::GetSecureEncryptionKey(const wchar_t* filename, uint32_t* key,
|
||||
std::wstring sFilename = filename;
|
||||
|
||||
// grab parent directory
|
||||
unsigned loc = sFilename.rfind(L"\\");
|
||||
size_t loc = sFilename.rfind(L"\\");
|
||||
if (loc == std::wstring::npos)
|
||||
loc = sFilename.rfind(L"/");
|
||||
|
||||
|
Reference in New Issue
Block a user