summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r--src/net/ea/buysellhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index f8871748f..f8a6651ef 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -169,7 +169,7 @@ void BuySellHandler::processNpcSell(Net::MessageIn &msg,
void BuySellHandler::processNpcBuyResponse(Net::MessageIn &msg) const
{
- if (msg.readInt8() == 0)
+ if (msg.readUInt8() == 0U)
{
NotifyManager::notify(NotifyTypes::BUY_DONE);
}