Fix minor warning from clang.

This commit is contained in:
Stephen Anthony 2018-08-15 12:25:57 -02:30
parent 9ec6b0816d
commit c2ce29ed78
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ void GameInfoDialog::loadCartridgeProperties(Properties properties)
if(instance().hasConsole() && myType->getSelectedTag().toString() == "AUTO")
{
string bs = instance().console().about().BankSwitch;
int pos = bs.find_first_of('*');
size_t pos = bs.find_first_of('*');
// remove '*':
if (pos != string::npos)
bs = bs.substr(0, pos) + bs.substr(pos+1);