diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
commit | ef7e7319305f040a47c483b71f2e78da7a1d6149 (patch) | |
tree | 14ac10427d7c94288fcb198db5277455754589ae /src/emoteshortcut.cpp | |
parent | 12389c8441c748996962412201af9e21d66f9e55 (diff) | |
download | manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2 manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz manaverse-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip |
Fix code style in other files.
Diffstat (limited to 'src/emoteshortcut.cpp')
-rw-r--r-- | src/emoteshortcut.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<unsigned char>(EmoteDB::getLast()); i <= sz && j < SHORTCUT_EMOTES; i++) { |