diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -995,7 +995,8 @@ static int finishnodeset (Table *t, const TValue *slot, TValue *val) { | |||
995 | } | 995 | } |
996 | else if (isabstkey(slot)) | 996 | else if (isabstkey(slot)) |
997 | return HNOTFOUND; /* no slot with that key */ | 997 | return HNOTFOUND; /* no slot with that key */ |
998 | else return (cast(Node*, slot) - t->node) + HFIRSTNODE; /* node encoded */ | 998 | else /* return node encoded */ |
999 | return cast_int((cast(Node*, slot) - t->node)) + HFIRSTNODE; | ||
999 | } | 1000 | } |
1000 | 1001 | ||
1001 | 1002 | ||