aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r--src/lua/lua_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index 8d8a6db5e..570a51be7 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -3536,7 +3536,7 @@ lua_int64_tonumber (lua_State *L)
gdouble d;
d = n;
- lua_pushnumber (L, d);
+ lua_pushinteger (L, d);
return 1;
}