From 8167aadaa169235a5c54acac117f653292bec1dd Mon Sep 17 00:00:00 2001 From: "Tom \"spot\" Callaway" <72474383+spotaws@users.noreply.github.com> Date: Thu, 5 Mar 2026 12:31:53 -0500 Subject: [PATCH] Use luaL_checkinteger() consistently Lua 5.5 (latest stable) dropped the luaL_checkint() alias (which just passed it to luaL_checkinteger() anyway). Since this code already uses luaL_checkinteger() once below, I've just changed this invocation of the old name to the new one. --- lua-mosquitto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua-mosquitto.c b/lua-mosquitto.c index 7f298bd..3f29d89 100644 --- a/lua-mosquitto.c +++ b/lua-mosquitto.c @@ -539,7 +539,7 @@ static int ctx_threaded_set(lua_State *L) static int ctx_option(lua_State *L) { ctx_t *ctx = ctx_check(L, 1); - enum mosq_opt_t option = luaL_checkint(L, 2); + enum mosq_opt_t option = luaL_checkinteger(L, 2); int type = lua_type(L, 3); int rc;