diff options
Diffstat (limited to 'nimterop/getters.nim')
| -rw-r--r-- | nimterop/getters.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim index c971bfc..6cb7651 100644 --- a/nimterop/getters.nim +++ b/nimterop/getters.nim @@ -296,9 +296,9 @@ proc getVarargs*(node: TSNode): bool = # ... is an unnamed node, second last node and ) is last node let nlen = node.tsNodeChildCount() - if nlen > 1: + if nlen > 1.uint32: let - nval = node.tsNodeChild(nlen - 2).getName() + nval = node.tsNodeChild(nlen - 2.uint32).getName() if nval == "...": result = true |
