summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 03:20:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-03 03:20:07 +0300
commit4546f29469d01fcbb5a030c4cf1746b786b495da (patch)
tree1c993be9c3c4cbde0c48fda8c2ee0d07a9863e3b /src/client.cpp
parenta06b27bdd35ee48a1e26aa3be53af6d1063a5d4c (diff)
downloadmv-4546f29469d01fcbb5a030c4cf1746b786b495da.tar.gz
mv-4546f29469d01fcbb5a030c4cf1746b786b495da.tar.bz2
mv-4546f29469d01fcbb5a030c4cf1746b786b495da.tar.xz
mv-4546f29469d01fcbb5a030c4cf1746b786b495da.zip
Fix signed / unsigned comparision issue in old gcc.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index f437f25d5..e050bf5cd 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -436,7 +436,7 @@ void Client::gameInit()
touchManager.init();
// Initialize the item and emote shortcuts.
- for (unsigned f = 0; f < SHORTCUT_TABS; f ++)
+ for (size_t f = 0; f < SHORTCUT_TABS; f ++)
itemShortcut[f] = new ItemShortcut(f);
emoteShortcut = new EmoteShortcut;
dropShortcut = new DropShortcut;