Fix build warnings
This commit is contained in:
parent
afed91661b
commit
3f08bfb264
7 changed files with 11 additions and 8 deletions
|
|
@ -288,7 +288,7 @@ void ts_stack_remove_head(Stack *self, int head_index) {
|
|||
|
||||
StackPushResult ts_stack_push(Stack *self, int head_index, TSStateId state,
|
||||
TSTree *tree) {
|
||||
assert(head_index < self->heads.size);
|
||||
assert((size_t)head_index < self->heads.size);
|
||||
assert(tree);
|
||||
|
||||
TSLength position = ts_tree_total_size(tree);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue