From 4546f29469d01fcbb5a030c4cf1746b786b495da Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Aug 2017 03:20:07 +0300 Subject: Fix signed / unsigned comparision issue in old gcc. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') 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; -- cgit v1.2.3-70-g09d2