diff options
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.292 2014/07/17 13:53:37 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.293 2014/07/24 19:33:29 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -438,7 +438,7 @@ static int finishpcall (lua_State *L, int status, lua_Ctx extra) { | |||
438 | return 2; /* return false, msg */ | 438 | return 2; /* return false, msg */ |
439 | } | 439 | } |
440 | else | 440 | else |
441 | return lua_gettop(L) - extra; /* return all results */ | 441 | return lua_gettop(L) - (int)extra; /* return all results */ |
442 | } | 442 | } |
443 | 443 | ||
444 | 444 | ||