From ef7e7319305f040a47c483b71f2e78da7a1d6149 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:54:08 +0300 Subject: Fix code style in other files. --- src/emoteshortcut.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/emoteshortcut.cpp') diff --git a/src/emoteshortcut.cpp b/src/emoteshortcut.cpp index 34e68b9f8..7ec54e47f 100644 --- a/src/emoteshortcut.cpp +++ b/src/emoteshortcut.cpp @@ -45,7 +45,8 @@ EmoteShortcut::~EmoteShortcut() void EmoteShortcut::load() { - for (unsigned char i = 0, j = 0, sz = EmoteDB::getLast(); + for (unsigned char i = 0, j = 0, + sz = static_cast(EmoteDB::getLast()); i <= sz && j < SHORTCUT_EMOTES; i++) { -- cgit v1.2.3-60-g2f50