diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-02-11 10:16:58 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-02-11 10:16:58 +0000 |
| commit | 10ef298fa00bd100bc854c5c8570a550f470dde4 (patch) | |
| tree | e8cd18564f1967a7999c16296f4a1005f6cd42b6 /src/runtime/c/pgf/expr.c | |
| parent | 88d20ca61238edb14e1151509484c60ef5d967ee (diff) | |
the grammar reader in the C runtime is completely rewritten and it doesn't use the generic programming API
Diffstat (limited to 'src/runtime/c/pgf/expr.c')
| -rw-r--r-- | src/runtime/c/pgf/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/pgf/expr.c b/src/runtime/c/pgf/expr.c index e457b7c9e..494708e8c 100644 --- a/src/runtime/c/pgf/expr.c +++ b/src/runtime/c/pgf/expr.c @@ -483,7 +483,7 @@ pgf_print_type(PgfType *type, int prec, GuWriter *wtr, GuExn *err) gu_string_write(type->cid, wtr, err); - for (int i = 0; i < type->n_exprs; i++) { + for (size_t i = 0; i < type->n_exprs; i++) { gu_puts(" ", wtr, err); pgf_print_expr(type->exprs[i], 4, wtr, err); } @@ -494,7 +494,7 @@ pgf_print_type(PgfType *type, int prec, GuWriter *wtr, GuExn *err) gu_string_write(type->cid, wtr, err); - for (int i = 0; i < type->n_exprs; i++) { + for (size_t i = 0; i < type->n_exprs; i++) { gu_puts(" ", wtr, err); pgf_print_expr(type->exprs[i], 4, wtr, err); } |
