diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-10-23 23:04:16 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-10-23 23:04:16 +0200 |
commit | a20fbfc8e086ca43669b2340d0612ef93b38b703 (patch) | |
tree | f2a4f3cf9131d4d022858771760a17056899fdc7 /src/server/game/Reputation/ReputationMgr.cpp | |
parent | 1db15bd6859d70b55c4163227952c46a2e89d913 (diff) |
Core/Entities: Third part of converting int to bigint guids in database
Diffstat (limited to 'src/server/game/Reputation/ReputationMgr.cpp')
-rw-r--r-- | src/server/game/Reputation/ReputationMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp index b7a8bb58af2..b2b029e1df2 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -572,12 +572,12 @@ void ReputationMgr::SaveToDB(SQLTransaction& trans) if (itr->second.needSave) { PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_CHAR_REPUTATION_BY_FACTION); - stmt->setUInt32(0, _player->GetGUID().GetCounter()); + stmt->setUInt64(0, _player->GetGUID().GetCounter()); stmt->setUInt16(1, uint16(itr->second.ID)); trans->Append(stmt); stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_CHAR_REPUTATION_BY_FACTION); - stmt->setUInt32(0, _player->GetGUID().GetCounter()); + stmt->setUInt64(0, _player->GetGUID().GetCounter()); stmt->setUInt16(1, uint16(itr->second.ID)); stmt->setInt32(2, itr->second.Standing); stmt->setUInt16(3, uint16(itr->second.Flags)); |