mirror of https://github.com/stella-emu/stella.git
Fix some clang warnings and minor typo.
This commit is contained in:
parent
0fcdc3ae6b
commit
6196c1f546
|
@ -117,7 +117,7 @@ void Cartridge3EWidget::loadConfig()
|
||||||
myBankWidgets[1]->setSelectedIndex(bank - myCart.romBankCount(), oldBank != bank);
|
myBankWidgets[1]->setSelectedIndex(bank - myCart.romBankCount(), oldBank != bank);
|
||||||
}
|
}
|
||||||
|
|
||||||
CartDebugWidget::loadConfig();
|
CartDebugWidget::loadConfig(); // Intentionally calling grand-parent method
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
|
@ -468,7 +468,7 @@ string RomListWidget::getToolTip(const Common::Point& pos) const
|
||||||
|
|
||||||
const string bytes = myDisasm->list[idx.y].bytes;
|
const string bytes = myDisasm->list[idx.y].bytes;
|
||||||
|
|
||||||
if(bytes.length() < size_t(idx.x + 1))
|
if(static_cast<Int32>(bytes.length()) < idx.x + 1)
|
||||||
return EmptyString;
|
return EmptyString;
|
||||||
|
|
||||||
Int32 val;
|
Int32 val;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#ifndef VIDEOAUDIO_DIALOG_HXX
|
#ifndef VIDEOAUDIO_DIALOG_HXX
|
||||||
#define D
|
#define VIDEOAUDIO_DIALOG_HXX
|
||||||
|
|
||||||
class CommandSender;
|
class CommandSender;
|
||||||
class CheckboxWidget;
|
class CheckboxWidget;
|
||||||
|
|
Loading…
Reference in New Issue