summaryrefslogtreecommitdiff
path: root/src/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmanager.cpp')
-rw-r--r--src/inputmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp
index cc6492817..c22e9192f 100644
--- a/src/inputmanager.cpp
+++ b/src/inputmanager.cpp
@@ -72,9 +72,9 @@ InputManager::InputManager() :
void InputManager::init()
{
- for (int i = 0; i < Input::KEY_TOTAL; i++)
+ for (unsigned int i = 0; i < Input::KEY_TOTAL; i++)
{
- for (int f = 0; f < KeyFunctionSize; f ++)
+ for (unsigned int f = 0; f < KeyFunctionSize; f ++)
{
mKey[i].values[f].type = INPUT_UNKNOWN;
mKey[i].values[f].value = -1;
@@ -108,7 +108,7 @@ void InputManager::retrieve()
StringVect keys;
splitToStringVector(keys, keyStr, ',');
- int i2 = 0;
+ unsigned int i2 = 0;
for (StringVectCIter it = keys.begin(), it_end = keys.end();
it != it_end && i2 < KeyFunctionSize; ++ it)
{