summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp2
-rw-r--r--src/spellshortcut.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 0a579a9ad..4fc833edb 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -260,7 +260,7 @@ static void createGuiWindows()
if (config.getBoolValue("showChatHistory"))
localChatTab->loadFromLogFile("#General");
- if (serverVersion >= 8 && serverConfig.getValue("enableLangTab", true))
+ if (serverVersion >= 8 && serverConfig.getValue("enableLangTab", 1))
{
const std::string lang = getLangShort();
if (lang.size() == 2)
diff --git a/src/spellshortcut.h b/src/spellshortcut.h
index d5ce35e6e..58c772a20 100644
--- a/src/spellshortcut.h
+++ b/src/spellshortcut.h
@@ -27,7 +27,7 @@
class TextCommand;
-const int SPELLS_SIZE = SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS;
+const unsigned int SPELLS_SIZE = SPELL_SHORTCUT_ITEMS * SPELL_SHORTCUT_TABS;
/**
* The class which keeps track of the item shortcuts.