From: Vsevolod Stakhov Date: Fri, 8 Feb 2019 14:31:52 +0000 (+0000) Subject: [Minor] Improve lua 5.3 compatibility X-Git-Tag: 1.9.0~189 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ffaf7ab5639886a9a5493de8387d9a45c978c9cd;p=rspamd.git [Minor] Improve lua 5.3 compatibility --- diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c index b66ad4215..4bfa60456 100644 --- a/src/lua/lua_mimepart.c +++ b/src/lua/lua_mimepart.c @@ -1785,7 +1785,7 @@ lua_mimepart_get_id (lua_State * L) return luaL_error (L, "invalid arguments"); } - lua_pushnumber (L, part->id); + lua_pushinteger (L, part->id); return 1; }