- more compiler warning cleanup

This commit is contained in:
Mark Vejvoda
2010-10-21 16:36:26 +00:00
parent 45a26a4597
commit cbe6860826
6 changed files with 15 additions and 15 deletions

View File

@@ -204,7 +204,7 @@ void * LuaArguments::getGenericData(int argumentIndex) const{
//}
else if(lua_isnumber(luaState, argumentIndex)) {
lua_Integer result = luaL_checkinteger(luaState, argumentIndex);
printf("\nGENERIC param %d is an int, %d!\n",argumentIndex,result);
printf("\nGENERIC param %d is an int, %d!\n",argumentIndex,(int)result);
return (void *)result;
}
else {