From f97c64d7bf4c0f373711795d8faba0e8cd206761 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 17 Oct 2014 13:28:21 -0300 Subject: macros 'LUA_QL'/'LUA_QL' deprecated --- loslib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loslib.c') diff --git a/loslib.c b/loslib.c index 47d1a6eb..45e5f4e3 100644 --- a/loslib.c +++ b/loslib.c @@ -1,5 +1,5 @@ /* -** $Id: loslib.c,v 1.47 2014/10/01 11:54:56 roberto Exp roberto $ +** $Id: loslib.c,v 1.48 2014/10/08 19:57:31 roberto Exp roberto $ ** Standard Operating System library ** See Copyright Notice in lua.h */ @@ -189,7 +189,7 @@ static int getfield (lua_State *L, const char *key, int d) { res = (int)lua_tointegerx(L, -1, &isnum); if (!isnum) { 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.3-55-g6feb