From 85e659219b68a2ffcf8001d8da881858b576acf4 Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Sat, 18 Jan 2014 16:49:31 -0800 Subject: [PATCH] - small cppcheck code cleanup --- source/shared_lib/sources/lua/lua_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/lua/lua_script.cpp b/source/shared_lib/sources/lua/lua_script.cpp index 41b9ca35..2635f6f0 100644 --- a/source/shared_lib/sources/lua/lua_script.cpp +++ b/source/shared_lib/sources/lua/lua_script.cpp @@ -439,7 +439,7 @@ void LuaScript::loadGame(const XmlNode *rootNode) { string variable = node->getAttribute("variable")->getValue(); int value_type = node->getAttribute("value_type")->getIntValue(); - if(LuaScript::debugModeEnabled) printf(" index #: %d [%s] [%d]\n",i,variable.c_str(),value_type); + if(LuaScript::debugModeEnabled) printf(" index #: %u [%s] [%d]\n",i,variable.c_str(),value_type); switch (value_type) { case LUA_TSTRING: