From 61fa462535a5c16b46e5b19ee28c0d998ab6c39e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 1 Aug 2014 14:22:57 -0300 Subject: added cast to avoid warning --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbaselib.c b/lbaselib.c index ffb21804..223c09ec 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.292 2014/07/17 13:53:37 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.293 2014/07/24 19:33:29 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -438,7 +438,7 @@ static int finishpcall (lua_State *L, int status, lua_Ctx extra) { return 2; /* return false, msg */ } else - return lua_gettop(L) - extra; /* return all results */ + return lua_gettop(L) - (int)extra; /* return all results */ } -- cgit v1.2.3-55-g6feb