[Scummvm-cvs-logs] SF.net SVN: scummvm:[55313] scummvm/trunk/gui/launcher.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Jan 18 22:03:13 CET 2011
Revision: 55313
http://scummvm.svn.sourceforge.net/scummvm/?rev=55313&view=rev
Author: lordhoto
Date: 2011-01-18 21:03:13 +0000 (Tue, 18 Jan 2011)
Log Message:
-----------
GUI: Fix implicit signed to unsigned conversion warnings for some compilers.
Modified Paths:
--------------
scummvm/trunk/gui/launcher.cpp
Modified: scummvm/trunk/gui/launcher.cpp
===================================================================
--- scummvm/trunk/gui/launcher.cpp 2011-01-18 20:30:16 UTC (rev 55312)
+++ scummvm/trunk/gui/launcher.cpp 2011-01-18 21:03:13 UTC (rev 55313)
@@ -188,8 +188,8 @@
// 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 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list