mirror of https://github.com/stella-emu/stella.git
Fix minor warning from clang.
This commit is contained in:
parent
9ec6b0816d
commit
c2ce29ed78
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue