mirror of https://github.com/snes9xgit/snes9x.git
Fix warning.
This commit is contained in:
parent
24db4e6e90
commit
e81edf83a6
|
@ -3505,7 +3505,7 @@ void CMemory::ApplyROMFixes (void)
|
|||
std::string CMemory::SafeString(std::string s, bool allow_jis /*=false*/)
|
||||
{
|
||||
std::string safe;
|
||||
for (int i = 0; i < s.length(); i++)
|
||||
for (size_t i = 0; i < s.length(); i++)
|
||||
{
|
||||
if (s[i] >= 32 && s[i] < 127) // ASCII
|
||||
safe += s[i];
|
||||
|
@ -3995,4 +3995,4 @@ void CMemory::CheckForAnyPatch(const char *rom_filename, bool8 header, int32 &ro
|
|||
|
||||
if (try_patch_type_sequence(PATCH_DIR))
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue