diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-20 10:42:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-20 10:42:26 +0100 |
commit | 4ad38df0fe563e820a70de78adcaee1ab13e705b (patch) | |
tree | 6777c9591223020c9436eef50fa73b8a05d67888 /src/lua/lua_util.c | |
parent | f06a9c54c61d9b562b8b21984a398bdc95f2b995 (diff) | |
download | rspamd-4ad38df0fe563e820a70de78adcaee1ab13e705b.tar.gz rspamd-4ad38df0fe563e820a70de78adcaee1ab13e705b.zip |
[Minor] Save int64 as lua_Integer not lua_Number
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r-- | src/lua/lua_util.c | 2 |
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; } |