aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_redis.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-15 16:20:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-15 16:20:59 +0100
commit938a0dba32a7f1632c3e14b92d986384aff19d7a (patch)
tree32e64f23e9bbed4c9123fb19972406ed6349d1d1 /src/lua/lua_redis.c
parent46d32375ac0fe58156da513670ea7c9bccf0aed2 (diff)
downloadrspamd-938a0dba32a7f1632c3e14b92d986384aff19d7a.tar.gz
rspamd-938a0dba32a7f1632c3e14b92d986384aff19d7a.zip
[Minor] Better Lua 5.3 compatibility
Diffstat (limited to 'src/lua/lua_redis.c')
-rw-r--r--src/lua/lua_redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c
index 82ef0c53b..e5b97ebeb 100644
--- a/src/lua/lua_redis.c
+++ b/src/lua/lua_redis.c
@@ -281,7 +281,7 @@ lua_redis_push_reply (lua_State *L, const redisReply *r, gboolean text_data)
switch (r->type) {
case REDIS_REPLY_INTEGER:
- lua_pushnumber (L, r->integer);
+ lua_pushinteger (L, r->integer);
break;
case REDIS_REPLY_NIL:
/* XXX: not the best approach */