X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e41fdc9310174cd2718308bb8fb52d86c479e204..0c2d3f4cba35c4bbea660794ab3cf91c030aafd3:/src/gram.c?ds=sidebyside diff --git a/src/gram.c b/src/gram.c index 3fc03d0e..de5a217c 100644 --- a/src/gram.c +++ b/src/gram.c @@ -29,7 +29,7 @@ /* comments for these variables are in gram.h */ item_number_t *ritem = NULL; -int nritems = 0; +unsigned int nritems = 0; rule_t *rules = NULL; int nrules = 0; @@ -70,7 +70,7 @@ rule_rhs_length (rule_t *rule) void ritem_print (FILE *out) { - int i; + unsigned int i; fputs ("RITEM\n", out); for (i = 0; i < nritems; ++i) if (ritem[i] >= 0)