summaryrefslogtreecommitdiff
path: root/src/gui/setup_input.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-02 20:49:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-02 20:49:43 +0300
commit1d843dd814f92004efbb4574be0d898d4edf6359 (patch)
tree1270a43603c971a4994bd764717dfd1d8da6e63d /src/gui/setup_input.cpp
parent6443e5d79b0d55a04d0fc9c106aae1bb1db9d07c (diff)
downloadmanaverse-1d843dd814f92004efbb4574be0d898d4edf6359.tar.gz
manaverse-1d843dd814f92004efbb4574be0d898d4edf6359.tar.bz2
manaverse-1d843dd814f92004efbb4574be0d898d4edf6359.tar.xz
manaverse-1d843dd814f92004efbb4574be0d898d4edf6359.zip
fix compilation warning.
Diffstat (limited to 'src/gui/setup_input.cpp')
-rw-r--r--src/gui/setup_input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp
index 6be11a6ba..3f644085e 100644
--- a/src/gui/setup_input.cpp
+++ b/src/gui/setup_input.cpp
@@ -318,7 +318,7 @@ void Setup_Input::refreshAssignedKey(const int index)
else
{
std::string str = gettext(key.name.c_str());
- int sz = 20;
+ unsigned int sz = 20;
if (mainGraphics->mWidth > 800)
sz = 30;
while (str.size() < sz)