diff options
Diffstat (limited to 'src/lua/lua_redis.c')
-rw-r--r-- | src/lua/lua_redis.c | 2 |
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 */ |