Skip to content

Commit

Permalink
- small cppcheck code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
softcoder committed Jan 19, 2014
1 parent d2284bb commit 85e6592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/shared_lib/sources/lua/lua_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 85e6592

Please sign in to comment.