mirror of
https://github.com/lua/lua
synced 2025-01-21 08:32:03 +03:00
added cast to avoid warning
This commit is contained in:
parent
fba9050d3d
commit
61fa462535
@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user