Skip to content

Commit 85e6592

Browse files
committed
- small cppcheck code cleanup
1 parent d2284bb commit 85e6592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/shared_lib/sources/lua/lua_script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ void LuaScript::loadGame(const XmlNode *rootNode) {
439439
string variable = node->getAttribute("variable")->getValue();
440440
int value_type = node->getAttribute("value_type")->getIntValue();
441441

442-
if(LuaScript::debugModeEnabled) printf(" index #: %d [%s] [%d]\n",i,variable.c_str(),value_type);
442+
if(LuaScript::debugModeEnabled) printf(" index #: %u [%s] [%d]\n",i,variable.c_str(),value_type);
443443

444444
switch (value_type) {
445445
case LUA_TSTRING:

0 commit comments

Comments
 (0)