diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-21 13:30:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-21 13:30:39 +0300 |
commit | 1fcc02e803d83ae8415ff44f9696cb215f475daa (patch) | |
tree | 3c4ccb5160624db095a139cb5a81a982e156d81c /src/net/ea | |
parent | 126fa885664da8a8de86f3a38c04469f7006e447 (diff) | |
download | mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.gz mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.bz2 mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.xz mv-1fcc02e803d83ae8415ff44f9696cb215f475daa.zip |
fix signed shifts.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 3f4eb9228..d64050e1a 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -160,7 +160,7 @@ int InventoryHandler::getSlot(const int eAthenaSlot) const if (eAthenaSlot & 0x8000) return Equipment::EQUIP_PROJECTILE_SLOT; - int mask = 1; + unsigned int mask = 1; int position = 0; while (!(eAthenaSlot & mask)) { |