From: Paul Eggert Date: Fri, 22 Oct 2004 23:14:00 +0000 (+0000) Subject: Use size_t rather than unsigned int in previous patch. X-Git-Tag: BISON-2_0~80 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/7886c2d41939537691ec01dec1d653a7ea69f178 Use size_t rather than unsigned int in previous patch. --- diff --git a/src/lalr.h b/src/lalr.h index 9253e0fd..b09db9b6 100644 --- a/src/lalr.h +++ b/src/lalr.h @@ -56,7 +56,7 @@ void lalr_free (void); together and GOTO_MAP[I - NTOKENS] is the index in FROM_STATE and TO_STATE of the first of them. */ -typedef unsigned int goto_number; +typedef size_t goto_number; extern goto_number *goto_map; extern state_number *from_state; diff --git a/src/relation.h b/src/relation.h index 1c461f60..84194971 100644 --- a/src/relation.h +++ b/src/relation.h @@ -29,7 +29,7 @@ #define END_NODE ((relation_node) -1) -typedef unsigned int relation_node; +typedef size_t relation_node; typedef relation_node *relation_nodes; typedef relation_nodes *relation;