diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 15:56:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 15:56:29 +0300 |
commit | 6053e0797465a15da30b8d645c8ac7c95b596c69 (patch) | |
tree | 5a14db92e2e4cef5c74235428acd1a2410f5b9d4 /src | |
parent | 48937a1681260673b4367d5cc55adcff1de5279f (diff) | |
download | mv-6053e0797465a15da30b8d645c8ac7c95b596c69.tar.gz mv-6053e0797465a15da30b8d645c8ac7c95b596c69.tar.bz2 mv-6053e0797465a15da30b8d645c8ac7c95b596c69.tar.xz mv-6053e0797465a15da30b8d645c8ac7c95b596c69.zip |
fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/spellshortcut.h | 2 |
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. |