diff options
Diffstat (limited to 'src/compose/parser.c')
-rw-r--r-- | src/compose/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compose/parser.c b/src/compose/parser.c index f84b314..124456d 100644 --- a/src/compose/parser.c +++ b/src/compose/parser.c @@ -332,8 +332,8 @@ add_production(struct xkb_compose_table *table, struct scanner *s, const struct production *production) { unsigned lhs_pos = 0; - uint16_t curr = darray_size(table->nodes) == 1 ? 0 : 1; - uint16_t *pptr = NULL; + uint32_t curr = darray_size(table->nodes) == 1 ? 0 : 1; + uint32_t *pptr = NULL; struct compose_node *node = NULL; /* Warn before potentially going over the limit, discard silently after. */ |