From: Akim Demaille Date: Mon, 26 Nov 2001 13:01:10 +0000 (+0000) Subject: * src/LR0.c (allocate_itemsets): kernel_size contains ints, not X-Git-Tag: BISON-1_30e~3 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6fedd4d1d697889451597734364f7cb5703b5212 * src/LR0.c (allocate_itemsets): kernel_size contains ints, not size_ts. Reported by Hans Aberg. --- diff --git a/ChangeLog b/ChangeLog index f05f7859..546eead1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-26 Akim Demaille + + * src/LR0.c (allocate_itemsets): kernel_size contains ints, not + size_ts. + Reported by Hans Aberg. + 2001-11-26 Akim Demaille * src/complain.c, src/complain.h (error): Remove, provided by diff --git a/src/LR0.c b/src/LR0.c index d7edc283..06ee51f6 100644 --- a/src/LR0.c +++ b/src/LR0.c @@ -94,7 +94,7 @@ allocate_itemsets (void) } shift_symbol = symbol_count; - kernel_size = XCALLOC (size_t, nsyms); + kernel_size = XCALLOC (int, nsyms); }