diff options
author | Johannes Schickel | 2011-01-18 21:03:13 +0000 |
---|---|---|
committer | Johannes Schickel | 2011-01-18 21:03:13 +0000 |
commit | 99f62728a3c2ded09421f7ee3f17d4b46da2bfc9 (patch) | |
tree | 04bf610c4ac2211c748562d8572b5b99289a8b5b /gui | |
parent | 0761ab7b3a5789815e65e49d40d92539f10c481c (diff) | |
download | scummvm-rg350-99f62728a3c2ded09421f7ee3f17d4b46da2bfc9.tar.gz scummvm-rg350-99f62728a3c2ded09421f7ee3f17d4b46da2bfc9.tar.bz2 scummvm-rg350-99f62728a3c2ded09421f7ee3f17d4b46da2bfc9.zip |
GUI: Fix implicit signed to unsigned conversion warnings for some compilers.
svn-id: r55313
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index de13966dbf..411825465f 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -188,8 +188,8 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc) // Language popup _langPopUpDesc = new StaticTextWidget(tab, "GameOptions_Game.LangPopupDesc", _("Language:"), _("Language of the game. This will not turn your Spanish game version into English")); _langPopUp = new PopUpWidget(tab, "GameOptions_Game.LangPopup", _("Language of the game. This will not turn your Spanish game version into English")); - _langPopUp->appendEntry(_("<default>"), Common::UNK_LANG); - _langPopUp->appendEntry("", Common::UNK_LANG); + _langPopUp->appendEntry(_("<default>"), (uint32)Common::UNK_LANG); + _langPopUp->appendEntry("", (uint32)Common::UNK_LANG); const Common::LanguageDescription *l = Common::g_languages; for (; l->code; ++l) { if (checkGameGUIOptionLanguage(l->id, _guioptionsString)) @@ -373,7 +373,7 @@ void EditGameDialog::open() { if (ConfMan.hasKey("language", _domain)) { _langPopUp->setSelectedTag(lang); } else { - _langPopUp->setSelectedTag(Common::UNK_LANG); + _langPopUp->setSelectedTag((uint32)Common::UNK_LANG); } if (_langPopUp->numEntries() <= 3) { // If only one language is avaliable |