summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
commitef7e7319305f040a47c483b71f2e78da7a1d6149 (patch)
tree14ac10427d7c94288fcb198db5277455754589ae /src/eventsmanager.cpp
parent12389c8441c748996962412201af9e21d66f9e55 (diff)
downloadmanaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz
manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2
manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz
manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip
Fix code style in other files.
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r--src/eventsmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index 3062ac3d2..9ae04d308 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -297,8 +297,8 @@ void EventsManager::logEvent(const SDL_Event &event)
{
const char *const text = event.text.text;
logger->log("event: SDL_TEXTINPUT: %s", text);
- const int sz = strlen(event.text.text);
- for (int f = 0; f < sz; f ++)
+ const size_t sz = strlen(event.text.text);
+ for (size_t f = 0; f < sz; f ++)
logger->log("dec: %d", text[f]);
break;
}