diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-19 11:05:11 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-19 11:05:11 -0200 |
commit | ed7039024d32778a62fd52a98fe98f3e38133853 (patch) | |
tree | 3c374aa6d13a0be4698f57088287b4ffd0d2b145 /ldblib.c | |
parent | 5511bf6b9d6018665f5c184c5a464bb8b0aceca5 (diff) | |
download | lua-ed7039024d32778a62fd52a98fe98f3e38133853.tar.gz lua-ed7039024d32778a62fd52a98fe98f3e38133853.tar.bz2 lua-ed7039024d32778a62fd52a98fe98f3e38133853.zip |
avoid some warnings
Diffstat (limited to '')
-rw-r--r-- | ldblib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.100 2005/08/15 14:12:32 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.101 2005/08/26 17:36:32 roberto Exp roberto $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -319,7 +319,7 @@ static int db_errorfb (lua_State *L) { | |||
319 | lua_State *L1 = getthread(L, &arg); | 319 | lua_State *L1 = getthread(L, &arg); |
320 | lua_Debug ar; | 320 | lua_Debug ar; |
321 | if (lua_isnumber(L, arg+2)) { | 321 | if (lua_isnumber(L, arg+2)) { |
322 | level = lua_tointeger(L, arg+2); | 322 | level = (int)lua_tointeger(L, arg+2); |
323 | lua_pop(L, 1); | 323 | lua_pop(L, 1); |
324 | } | 324 | } |
325 | else | 325 | else |