summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2011-04-07 19:19:58 -0400
committerChuck Miller <shadowmil@gmail.com>2011-04-07 19:40:41 -0400
commitb499cf0c03f2589d36a1df14c81530347243940a (patch)
treeb669f240dc05b544654107fca007aa8eec20f3af /src/resources
parentdf7771d05d782789026f01bcbdbcba44028f99aa (diff)
downloadmana-client-b499cf0c03f2589d36a1df14c81530347243940a.tar.gz
mana-client-b499cf0c03f2589d36a1df14c81530347243940a.tar.bz2
mana-client-b499cf0c03f2589d36a1df14c81530347243940a.tar.xz
mana-client-b499cf0c03f2589d36a1df14c81530347243940a.zip
Fix compiler warning about incorrect use of the logger's log member
Reviewed-By: Jared Adams
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 96cf8aef..1f17865f 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -275,7 +275,7 @@ static void checkParameter(int id, const T param, const T errorValue)
std::stringstream errMsg;
errMsg << "ItemDB: Missing " << param << " attribute for item id "
<< id << "!";
- logger->log(errMsg.str().c_str());
+ logger->log("%s", errMsg.str().c_str());
}
}