From 753d221bfeb1e438724a2ff8168bef9953698f06 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Wed, 15 Jul 2020 18:44:42 +0200 Subject: Update lmyoslib.c for new lua 5.4 version Fix lua 5.4 compatibility, due to deprecated LUA_QS macro See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964680 for reference --- lua/lmyoslib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lmyoslib.c b/lua/lmyoslib.c index 65da1f4..bd1ef42 100644 --- a/lua/lmyoslib.c +++ b/lua/lmyoslib.c @@ -57,7 +57,7 @@ static int getfield (lua_State *L, const char *key, int d) { res = (int)lua_tointeger(L, -1); else { if (d < 0) - return luaL_error(L, "field " LUA_QS " missing in date table", key); + return luaL_error(L, "field '%s' missing in date table", key); res = d; } lua_pop(L, 1); -- cgit v1.2.1