diff options
Diffstat (limited to 'src/runtime/c/pgf/literals.c')
| -rw-r--r-- | src/runtime/c/pgf/literals.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/c/pgf/literals.c b/src/runtime/c/pgf/literals.c index ea082e28a..e6c9a9ed3 100644 --- a/src/runtime/c/pgf/literals.c +++ b/src/runtime/c/pgf/literals.c @@ -16,7 +16,7 @@ pgf_match_string_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, { GuPool* tmp_pool = gu_new_pool(); - int lin_idx; + size_t lin_idx; PgfSequence seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); @@ -64,7 +64,7 @@ pgf_match_int_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, { GuPool* tmp_pool = gu_new_pool(); - int lin_idx; + size_t lin_idx; PgfSequence seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); @@ -121,7 +121,7 @@ pgf_match_float_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, { GuPool* tmp_pool = gu_new_pool(); - int lin_idx; + size_t lin_idx; PgfSequence seq; pgf_item_sequence(item, &lin_idx, &seq, tmp_pool); gu_assert(lin_idx == 0); @@ -176,7 +176,7 @@ static bool pgf_match_name_lit(PgfConcr* concr, PgfItem* item, PgfToken tok, PgfExprProb** out_ep, GuPool *pool) { - int lin_idx; + size_t lin_idx; PgfSequence seq; pgf_item_sequence(item, &lin_idx, &seq, pool); |
