We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f7a28 commit 869c662Copy full SHA for 869c662
lua_cmsgpack.c
@@ -843,7 +843,7 @@ static int mp_unpack_one(lua_State *L) {
843
}
844
845
static int mp_unpack_limit(lua_State *L) {
846
- int limit = luaL_checkint(L, 2);
+ int limit = luaL_checkinteger(L, 2);
847
int offset = luaL_optint(L, 3, 0);
848
/* Variable pop because offset may not exist */
849
lua_pop(L, lua_gettop(L)-1);
0 commit comments