summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:43 +0300
commitbbc9697a153b30503d9d12c120505ec81adeacf1 (patch)
tree3af1effd146efdcf76719882d20ee50d28c9f2dd /src/input/inputmanager.cpp
parentd42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 (diff)
downloadmanaverse-bbc9697a153b30503d9d12c120505ec81adeacf1.tar.gz
manaverse-bbc9697a153b30503d9d12c120505ec81adeacf1.tar.bz2
manaverse-bbc9697a153b30503d9d12c120505ec81adeacf1.tar.xz
manaverse-bbc9697a153b30503d9d12c120505ec81adeacf1.zip
Fix code style in input.
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index d611e4790..c30d97394 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -122,7 +122,7 @@ void InputManager::retrieve()
mNameMap[cf] = i;
KeyFunction &kf = mKey[i];
const std::string keyStr = config.getValue(cf, "");
- const int keyStrSize = keyStr.size();
+ const size_t keyStrSize = keyStr.size();
if (keyStr.empty())
continue;