aboutsummaryrefslogtreecommitdiff
path: root/src/game/Guild.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-12 17:52:27 +0800
committermegamage <none@none>2009-07-12 17:52:27 +0800
commitb5d802b70c2581583eb941765b25b85119b7391e (patch)
tree8a7c2b15ce4c6a3d04f068259c34179bc3c9060b /src/game/Guild.cpp
parent5e22d496aef731be5a765d843b05aca40222a6ec (diff)
[8151] Fixed some format warnings and typos. Author: Win32
--HG-- branch : trunk
Diffstat (limited to 'src/game/Guild.cpp')
-rw-r--r--src/game/Guild.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Guild.cpp b/src/game/Guild.cpp
index c227644b0ed..cabf4528878 100644
--- a/src/game/Guild.cpp
+++ b/src/game/Guild.cpp
@@ -283,7 +283,7 @@ bool Guild::LoadRanksFromDB(uint32 GuildId)
std::string name = m_ranks[i].name;
uint32 rights = m_ranks[i].rights;
CharacterDatabase.escape_string(name);
- CharacterDatabase.PExecute( "INSERT INTO guild_rank (guildid,rid,rname,rights) VALUES ('%u', '%u', '%s', '%u')", GuildId, i+1, name.c_str(), rights);
+ CharacterDatabase.PExecute( "INSERT INTO guild_rank (guildid,rid,rname,rights) VALUES ('%u', '%u', '%s', '%u')", GuildId, uint32(i+1), name.c_str(), rights);
}
CharacterDatabase.CommitTransaction();
}
@@ -2010,4 +2010,3 @@ bool GuildItemPosCount::isContainedIn(GuildItemPosCountVec const &vec) const
return false;
}
-