Skip to content

Commit 194aea1

Browse files
committed
Fix luaL_checkint to Lua 5.3
1 parent b858524 commit 194aea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua-hiredis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ static int lhiredis_connect(lua_State * L)
461461
}
462462
else
463463
{
464-
pContext = redisConnect(host_or_socket, luaL_checkint(L, 2));
464+
pContext = redisConnect(host_or_socket, luaL_checkinteger(L, 2));
465465
}
466466

467467
if (!pContext)

0 commit comments

Comments
 (0)