Fixed another minor clang warning.

This commit is contained in:
Stephen Anthony 2020-11-17 18:54:35 -03:30
parent a7d83e352e
commit 1e4f3563b6
1 changed files with 2 additions and 2 deletions

View File

@ -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;