diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-21 01:05:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-21 01:05:33 +0300 |
commit | 414b9fbcd9bf6f49ba98d84babfac143aa9e6532 (patch) | |
tree | 11bfbec2a49fb04ddd943e951a4c4b0384db6214 /src/net/eathena | |
parent | 849bf8bca7d8df41bc6adca236fef8ba2886d1ff (diff) | |
download | plus-414b9fbcd9bf6f49ba98d84babfac143aa9e6532.tar.gz plus-414b9fbcd9bf6f49ba98d84babfac143aa9e6532.tar.bz2 plus-414b9fbcd9bf6f49ba98d84babfac143aa9e6532.tar.xz plus-414b9fbcd9bf6f49ba98d84babfac143aa9e6532.zip |
Change some int constants to unsigned.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index 66450cccc..52f2e3b2b 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -299,7 +299,7 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) break; case RFAIL_NEED_EQUIPMENT: { - const int itemId = bskill >> 16; + const int itemId = bskill >> 16U; const int amount = bskill & 0xFFFFU; const ItemInfo &info = ItemDB::get(itemId); if (amount == 1) @@ -319,7 +319,7 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) } case RFAIL_NEED_ITEM: { - const int itemId = bskill >> 16; + const int itemId = bskill >> 16U; const int amount = bskill & 0xFFFFU; const ItemInfo &info = ItemDB::get(itemId); if (amount == 1) |