summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/skillrecv.cpp4
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)