diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-18 15:23:25 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-18 15:23:25 -0200 |
commit | d89a56f86921dc3c62edf0345748ba5c41b2632c (patch) | |
tree | 09f9f3dc39e19021fdcac32985bf0374a0885006 | |
parent | 334ba8132bd0471ffe2a9964b577d3ae89ec490a (diff) | |
download | lua-d89a56f86921dc3c62edf0345748ba5c41b2632c.tar.gz lua-d89a56f86921dc3c62edf0345748ba5c41b2632c.tar.bz2 lua-d89a56f86921dc3c62edf0345748ba5c41b2632c.zip |
small warning in 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.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 |