diff options
Diffstat (limited to '')
| -rw-r--r-- | lbuiltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lbuiltin.c,v 1.81 1999/12/03 18:02:54 roberto Exp $ | 2 | ** $Id: lbuiltin.c,v 1.82 1999/12/06 11:42:18 roberto Exp roberto $ |
| 3 | ** Built-in functions | 3 | ** Built-in functions |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -624,7 +624,7 @@ static void hash_query (lua_State *L) { | |||
| 624 | } | 624 | } |
| 625 | else { | 625 | else { |
| 626 | const Hash *t = avalue(luaL_tablearg(L, 2)); | 626 | const Hash *t = avalue(luaL_tablearg(L, 2)); |
| 627 | lua_pushnumber(L, luaH_mainposition(L, t, o) - t->node); | 627 | lua_pushnumber(L, luaH_mainposition(t, o) - t->node); |
| 628 | } | 628 | } |
| 629 | } | 629 | } |
| 630 | 630 | ||
