aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-09-27 17:19:49 +0200
committerjackpoz <giacomopoz@gmail.com>2015-09-27 17:19:49 +0200
commitfcc6ef6b1881196bbcebf5949fe682056b366b46 (patch)
tree3f1ecf14abffcc33c4998e241b01a8571eadd2c3 /src
parent5c3ba60d54ce01cc1571e9e2d36a34e1fb64021a (diff)
Core/DBLayer: Build fix in addition to 25c03039768fefa79dd75d491997c28e451a09a7
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Server/WorldSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Server/WorldSession.cpp b/src/server/game/Server/WorldSession.cpp
index e6896003175..53da37bc730 100644
--- a/src/server/game/Server/WorldSession.cpp
+++ b/src/server/game/Server/WorldSession.cpp
@@ -709,7 +709,7 @@ void WorldSession::LoadAccountData(PreparedQueryResult result, uint32 mask)
void WorldSession::SetAccountData(AccountDataType type, time_t tm, std::string const& data)
{
uint32 id = 0;
- uint32 index = 0;
+ CharacterDatabaseStatements index;
if ((1 << type) & GLOBAL_CACHE_MASK)
{
id = GetAccountId();