From: Vsevolod Stakhov Date: Wed, 20 Oct 2021 09:42:26 +0000 (+0100) Subject: [Minor] Save int64 as lua_Integer not lua_Number X-Git-Tag: 3.1~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4ad38df0fe563e820a70de78adcaee1ab13e705b;p=rspamd.git [Minor] Save int64 as lua_Integer not lua_Number --- 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; }