mirror of https://github.com/stella-emu/stella.git
Fixed another minor clang warning.
This commit is contained in:
parent
a7d83e352e
commit
1e4f3563b6
|
@ -472,7 +472,7 @@ string RomListWidget::getToolTip(Common::Point pos) const
|
|||
if(bytes.length() == 8 && bytes[2] != ' ')
|
||||
{
|
||||
// Binary value
|
||||
val = static_cast<Int32>(stol(bytes, 0, 2));
|
||||
val = static_cast<Int32>(stol(bytes, nullptr, 2));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -484,7 +484,7 @@ string RomListWidget::getToolTip(Common::Point pos) const
|
|||
// Get one hex byte
|
||||
const string valStr = bytes.substr((idx.x / 3) * 3, 2);
|
||||
|
||||
val = static_cast<Int32>(stol(valStr, 0, 16));
|
||||
val = static_cast<Int32>(stol(valStr, nullptr, 16));
|
||||
|
||||
}
|
||||
ostringstream buf;
|
||||
|
|
Loading…
Reference in New Issue