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];
|
||||
|
|
Loading…
Reference in New Issue