diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-16 00:27:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-16 00:27:51 +0300 |
commit | c3434fa53d1c83bc65b640951364f842fe6c79f4 (patch) | |
tree | 51aa552c585518d7b2e2d67eba7c9500065dae05 /src/net/ea/specialhandler.cpp | |
parent | 185a53c504a0d53e54a7425ea829b5c951661ea8 (diff) | |
download | manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.gz manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.bz2 manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.tar.xz manaplus-c3434fa53d1c83bc65b640951364f842fe6c79f4.zip |
Fix some signed/unsigned chars issues.
Diffstat (limited to 'src/net/ea/specialhandler.cpp')
-rw-r--r-- | src/net/ea/specialhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/specialhandler.cpp b/src/net/ea/specialhandler.cpp index 7bb69954f..527437f84 100644 --- a/src/net/ea/specialhandler.cpp +++ b/src/net/ea/specialhandler.cpp @@ -127,8 +127,8 @@ void SpecialHandler::processSkillFailed(Net::MessageIn &msg) const int skillId = msg.readInt16(); const short bskill = msg.readInt16(); msg.readInt16(); // btype - const char success = msg.readInt8(); - const char reason = msg.readInt8(); + const signed char success = msg.readInt8(); + const signed char reason = msg.readInt8(); if (success != static_cast<int>(SKILL_FAILED) && bskill == static_cast<int>(BSKILL_EMOTE)) { |