summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index d549eb0..8e48c0a 100644
--- a/src/core.c
+++ b/src/core.c
@@ -664,7 +664,7 @@ int lcoreSetConfigFlags( lua_State *L ) {
lua_pushboolean( L, false );
return 1;
}
- SetConfigFlags( lua_tointeger( L, -1 ) );
+ SetConfigFlags( (unsigned int)lua_tointeger( L, -1 ) );
lua_pushboolean( L, true );
return 1;