mirror of
https://github.com/lua/lua.git
synced 2026-11-14 19:55:47 +00:00
Fixed warnings from different compilers
This commit is contained in:
@@ -995,7 +995,8 @@ static int finishnodeset (Table *t, const TValue *slot, TValue *val) {
|
||||
}
|
||||
else if (isabstkey(slot))
|
||||
return HNOTFOUND; /* no slot with that key */
|
||||
else return (cast(Node*, slot) - t->node) + HFIRSTNODE; /* node encoded */
|
||||
else /* return node encoded */
|
||||
return cast_int((cast(Node*, slot) - t->node)) + HFIRSTNODE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user