summaryrefslogtreecommitdiff
path: root/src/net/eathena/auctionhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 21:49:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 21:49:16 +0300
commit5b4e74ab44a2ae4eab9db71c860885802e2ba28d (patch)
tree065e1c4a5c5639b77789e7cf51ca25efeeb7e86a /src/net/eathena/auctionhandler.cpp
parentac12efd17d9f719b083d8af1eb5a06853835e8d6 (diff)
downloadmv-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.tar.gz
mv-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.tar.bz2
mv-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.tar.xz
mv-5b4e74ab44a2ae4eab9db71c860885802e2ba28d.zip
Fix code style.
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r--src/net/eathena/auctionhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp
index 6ef2ca81c..1fe68d760 100644
--- a/src/net/eathena/auctionhandler.cpp
+++ b/src/net/eathena/auctionhandler.cpp
@@ -127,7 +127,7 @@ void AuctionHandler::processAuctionClose(Net::MessageIn &msg)
void AuctionHandler::cancelReg() const
{
createOutPacket(CMSG_AUCTION_CANCEL_REG);
- outMsg.writeInt16(0, "type"); // unused
+ outMsg.writeInt16(0, "type"); // unused
}
void AuctionHandler::setItem(const Item *const item,
@@ -178,7 +178,7 @@ void AuctionHandler::search(const AuctionSearchType::Type type,
outMsg.writeInt16(static_cast<int16_t>(type), "search type");
outMsg.writeInt32(auctionId, "auction id");
outMsg.writeString(text, 24, "search text");
- outMsg.writeInt16(page, "page");
+ outMsg.writeInt16(static_cast<int16_t>(page), "page");
}
void AuctionHandler::buy() const