diff options
| -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.90 2005/01/10 16:30:59 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.91 2005/01/10 17:21:10 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 | */ |
| @@ -281,7 +281,7 @@ static int errorfb (lua_State *L) { | |||
| 281 | lua_State *L1 = getthread(L, &arg); | 281 | lua_State *L1 = getthread(L, &arg); |
| 282 | lua_Debug ar; | 282 | lua_Debug ar; |
| 283 | if (lua_isnumber(L, arg+2)) { | 283 | if (lua_isnumber(L, arg+2)) { |
| 284 | level = lua_tonumber(L, arg+2); | 284 | level = lua_tointeger(L, arg+2); |
| 285 | lua_pop(L, 1); | 285 | lua_pop(L, 1); |
| 286 | } | 286 | } |
| 287 | else | 287 | else |
