aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-04-26 22:46:43 +0200
committerShauren <shauren.trinity@gmail.com>2013-04-26 22:46:43 +0200
commit118ec195a64bf706b65bbf8c292232148ae84de9 (patch)
treed8d86aed69427989d854b1151df004c7b50a6eb5 /src
parent23c5e4b32251d28b9856b981a131302f0b6effbf (diff)
Core/DBLayer: Fixed mismatched field type in auction house prepared statement.
Closes #9694
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AuctionHouse/AuctionHouseMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp
index 4c80d268c12..94964568695 100644
--- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp
+++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp
@@ -658,7 +658,7 @@ void AuctionEntry::SaveToDB(SQLTransaction& trans) const
stmt->setUInt32(2, itemGUIDLow);
stmt->setUInt32(3, owner);
stmt->setInt32 (4, int32(buyout));
- stmt->setUInt64(5, uint64(expire_time));
+ stmt->setUInt32(5, uint32(expire_time));
stmt->setUInt32(6, bidder);
stmt->setInt32 (7, int32(bid));
stmt->setInt32 (8, int32(startbid));