X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6c5f863aec6753f9df7225a5746e82fa82ad5c4c..ee42c6166b14ae855c6c1ffc100d5aead31175e2:/src/LR0.c diff --git a/src/LR0.c b/src/LR0.c index ae39b7ce..2a75193e 100644 --- a/src/LR0.c +++ b/src/LR0.c @@ -1,7 +1,7 @@ /* Generate the nondeterministic finite state machine for Bison. - Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002 Free Software - Foundation, Inc. + Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2004 Free + Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -106,7 +106,8 @@ allocate_itemsets (void) browsed too, hence we need to allocate room for _all_ the symbols. */ int count = 0; - short *symbol_count = CALLOC (symbol_count, nsyms + nuseless_nonterminals); + short int *symbol_count = CALLOC (symbol_count, + nsyms + nuseless_nonterminals); for (r = 0; r < nrules; ++r) for (rhsp = rules[r].rhs; *rhsp >= 0; ++rhsp)