summaryrefslogtreecommitdiff
path: root/src/net/ea/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-14 23:43:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-14 23:43:54 +0300
commit15a79eee1b3baa91953daf33dc021a1e7c147365 (patch)
tree21fc078237a8c635308c1e84e0bba869918ba3d5 /src/net/ea/tradehandler.cpp
parente1841e31c606f1d97ea54c3f00f3380db814f3d2 (diff)
downloadplus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.gz
plus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.bz2
plus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.xz
plus-15a79eee1b3baa91953daf33dc021a1e7c147365.zip
Change refine type to uint8_t.
Diffstat (limited to 'src/net/ea/tradehandler.cpp')
-rw-r--r--src/net/ea/tradehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 0d0fd05da..d6715d4f6 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -183,7 +183,7 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
const int type = msg.readInt16();
const uint8_t identify = msg.readUInt8(); // identified flag
msg.readUInt8(); // attribute
- const int refine = msg.readUInt8(); // refine
+ const uint8_t refine = msg.readUInt8(); // refine
msg.skip(8); // card (4 shorts)
if (tradeWindow)