From 9b9becf38402a1787c4f723c705e2e3baa374573 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 29 Apr 2013 13:58:10 -0300 Subject: added 'const' to parameters of 'luaG_concaterror' --- ldebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index 478c642e..fa7bbd96 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.92 2013/04/26 13:07:53 roberto Exp roberto $ +** $Id: ldebug.c,v 2.93 2013/04/26 16:03:50 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -517,7 +517,7 @@ l_noret luaG_typeerror (lua_State *L, const TValue *o, const char *op) { } -l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) { +l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2) { if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; lua_assert(!ttisstring(p1) && !ttisnumber(p2)); luaG_typeerror(L, p1, "concatenate"); -- cgit v1.2.3-55-g6feb