diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-08-01 14:22:57 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-08-01 14:22:57 -0300 |
| commit | 61fa462535a5c16b46e5b19ee28c0d998ab6c39e (patch) | |
| tree | 582e3b16ce71b81040969b4c977544c52a41a209 | |
| parent | fba9050d3d6aa53853f89317c8f040f90a4c61db (diff) | |
| download | lua-61fa462535a5c16b46e5b19ee28c0d998ab6c39e.tar.gz lua-61fa462535a5c16b46e5b19ee28c0d998ab6c39e.tar.bz2 lua-61fa462535a5c16b46e5b19ee28c0d998ab6c39e.zip | |
added cast to avoid warning
| -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 | ||
