]> git.saurik.com Git - bison.git/blobdiff - src/print.c
Remove uses of 'short int' and 'unsigned short int' in the parser generators.
[bison.git] / src / print.c
index 88ac657c9a11750a959cfc51f6343f2df8a29014..7d16da5f1d2229e46bd11b9c67adfc7f7d94a067 100644 (file)
@@ -71,9 +71,9 @@ max_length (size_t *width, const char *str)
 static void
 print_core (FILE *out, state *s)
 {
-  int i;
+  size_t i;
   item_number *sitems = s->items;
-  int snritems = s->nitems;
+  size_t snritems = s->nitems;
   symbol *previous_lhs = NULL;
 
   /* Output all the items of a state, not only its kernel.  */