diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-02 20:49:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-02 20:49:43 +0300 |
commit | 1d843dd814f92004efbb4574be0d898d4edf6359 (patch) | |
tree | 1270a43603c971a4994bd764717dfd1d8da6e63d /src | |
parent | 6443e5d79b0d55a04d0fc9c106aae1bb1db9d07c (diff) | |
download | manaplus-1d843dd814f92004efbb4574be0d898d4edf6359.tar.gz manaplus-1d843dd814f92004efbb4574be0d898d4edf6359.tar.bz2 manaplus-1d843dd814f92004efbb4574be0d898d4edf6359.tar.xz manaplus-1d843dd814f92004efbb4574be0d898d4edf6359.zip |
fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/setup_input.cpp | 2 |
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) |