aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/SQLOperation.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-08-31 11:39:51 +0200
committerSpp <none@none>2010-08-31 11:39:51 +0200
commitb9e19572c446dc6cbb4a04740db1aae39e670f92 (patch)
treee5135430f1918ce48a755aaf487aeb056d396459 /src/server/shared/Database/SQLOperation.cpp
parent849ae84f5b79f52ac60a904f98b10219a0ed7cf7 (diff)
Core: Fix more warnings (very few left under linux 32)
--HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/SQLOperation.cpp')
-rw-r--r--src/server/shared/Database/SQLOperation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/shared/Database/SQLOperation.cpp b/src/server/shared/Database/SQLOperation.cpp
index b524e962544..b66839e26b3 100644
--- a/src/server/shared/Database/SQLOperation.cpp
+++ b/src/server/shared/Database/SQLOperation.cpp
@@ -58,13 +58,13 @@ bool SQLQueryHolder::SetQuery(size_t index, const char *sql)
{
if (m_queries.size() <= index)
{
- sLog.outError("Query index (%u) out of range (size: %u) for query: %s", index, (uint32)m_queries.size(), sql);
+ sLog.outError("Query index (%zu) out of range (size: %u) for query: %s", index, (uint32)m_queries.size(), sql);
return false;
}
if (m_queries[index].first != NULL)
{
- sLog.outError("Attempt assign query to holder index (%u) where other query stored (Old: [%s] New: [%s])",
+ sLog.outError("Attempt assign query to holder index (%zu) where other query stored (Old: [%s] New: [%s])",
index, m_queries[index].first, sql);
return false;
}
@@ -78,7 +78,7 @@ bool SQLQueryHolder::SetPQuery(size_t index, const char *format, ...)
{
if (!format)
{
- sLog.outError("Query (index: %u) is empty.",index);
+ sLog.outError("Query (index: %zu) is empty.",index);
return false;
}