summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 6171af95..e51ff23f 100644
--- a/ltests.c
+++ b/ltests.c
@@ -277,7 +277,7 @@ static int table_query (lua_State *L) {
277 } 277 }
278 else 278 else
279 lua_pushstring(L, "<undef>"); 279 lua_pushstring(L, "<undef>");
280 luaA_pushobject(L, &t->node[i].val); 280 luaA_pushobject(L, val(&t->node[i]));
281 if (t->node[i].next) 281 if (t->node[i].next)
282 lua_pushnumber(L, t->node[i].next - t->node); 282 lua_pushnumber(L, t->node[i].next - t->node);
283 else 283 else