diff options
Diffstat (limited to 'identifiers.c')
-rw-r--r-- | identifiers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/identifiers.c b/identifiers.c index 60c1460..1ff225c 100644 --- a/identifiers.c +++ b/identifiers.c @@ -63,7 +63,7 @@ static Identifier ident_new(Identifiers *ids, Identifier parent, unsigned char i #endif tree->parent = parent; if (parent) - tree->depth = parent->depth + 1; + tree->depth = (uint16_t)(parent->depth + 1); tree->index_in_parent = index_in_parent; return tree; } |