diff options
Diffstat (limited to 'ldblib.c')
-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 |