mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 23:19:07 +02:00
- cleaned up a whole pile of compiler warnings
This commit is contained in:
@@ -203,7 +203,7 @@ void * LuaArguments::getGenericData(int argumentIndex) const{
|
||||
// return (void *)result;
|
||||
//}
|
||||
else if(lua_isnumber(luaState, argumentIndex)) {
|
||||
int result = luaL_checkinteger(luaState, argumentIndex);
|
||||
lua_Integer result = luaL_checkinteger(luaState, argumentIndex);
|
||||
printf("\nGENERIC param %d is an int, %d!\n",argumentIndex,result);
|
||||
return (void *)result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user