aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-28 16:14:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-28 16:14:47 -0300
commite723c75c02a48d0c766f1f30f7a321f7fdb239dc (patch)
treeaa3f11828e25ccf2dc02d077e59ee12a4313a3bd /lapi.c
parentb436ed58a3416c2e1936bdce880ac09925401a87 (diff)
downloadlua-e723c75c02a48d0c766f1f30f7a321f7fdb239dc.tar.gz
lua-e723c75c02a48d0c766f1f30f7a321f7fdb239dc.tar.bz2
lua-e723c75c02a48d0c766f1f30f7a321f7fdb239dc.zip
details (avoid 'lint' warnings)
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 7bbdf70e..595a4512 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.246 2015/02/11 18:47:22 roberto Exp $ 2** $Id: lapi.c,v 2.247 2015/03/06 19:49:50 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -160,7 +160,7 @@ LUA_API const lua_Number *lua_version (lua_State *L) {
160LUA_API int lua_absindex (lua_State *L, int idx) { 160LUA_API int lua_absindex (lua_State *L, int idx) {
161 return (idx > 0 || ispseudo(idx)) 161 return (idx > 0 || ispseudo(idx))
162 ? idx 162 ? idx
163 : cast_int(L->top - L->ci->func + idx); 163 : cast_int(L->top - L->ci->func) + idx;
164} 164}
165 165
166 166