aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 45baa5549..913ebcb60 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -22,7 +22,7 @@
#define LUA_ENUM(L, name, val) \
lua_pushlstring (L, # name, sizeof(# name) - 1); \
- lua_pushnumber (L, val); \
+ lua_pushinteger (L, val); \
lua_settable (L, -3);
#if LUA_VERSION_NUM > 501 && !defined LUA_COMPAT_MODULE