From 6053e0797465a15da30b8d645c8ac7c95b596c69 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sun, 24 Mar 2013 15:56:29 +0300
Subject: fix compilation warnings.

---
 src/game.cpp        | 2 +-
 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.
-- 
cgit v1.2.3-70-g09d2