From 6f2b8e21c4ea9d730ccfe7e41bfc178704d1fc75 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 8 Jun 2018 16:06:59 -0300 Subject: added 'const' to 'Proto*' when possible --- ltm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltm.c') diff --git a/ltm.c b/ltm.c index f0784305..551a2b97 100644 --- a/ltm.c +++ b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 2.67 2018/04/04 14:23:41 roberto Exp roberto $ +** $Id: ltm.c,v 2.68 2018/06/01 17:40:38 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -217,7 +217,7 @@ int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, void luaT_adjustvarargs (lua_State *L, int nfixparams, CallInfo *ci, - Proto *p) { + const Proto *p) { int i; int actual = cast_int(L->top - ci->func) - 1; /* number of arguments */ int nextra = actual - nfixparams; /* number of extra arguments */ -- cgit v1.2.3-55-g6feb