summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 15:56:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 15:56:29 +0300
commit6053e0797465a15da30b8d645c8ac7c95b596c69 (patch)
tree5a14db92e2e4cef5c74235428acd1a2410f5b9d4 /src
parent48937a1681260673b4367d5cc55adcff1de5279f (diff)
downloadmanaverse-6053e0797465a15da30b8d645c8ac7c95b596c69.tar.gz
manaverse-6053e0797465a15da30b8d645c8ac7c95b596c69.tar.bz2
manaverse-6053e0797465a15da30b8d645c8ac7c95b596c69.tar.xz
manaverse-6053e0797465a15da30b8d645c8ac7c95b596c69.zip
fix compilation warnings.
Diffstat (limited to 'src')
-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.