mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
* src/symlist.c (symbol_list_length): Return int, not unsigned
int, since callers expect int.
This commit is contained in:
@@ -100,8 +100,8 @@ symbol_list_free (symbol_list *list)
|
||||
| Return its length. |
|
||||
`--------------------*/
|
||||
|
||||
unsigned int
|
||||
symbol_list_length (const symbol_list *l)
|
||||
int
|
||||
symbol_list_length (symbol_list const *l)
|
||||
{
|
||||
int res = 0;
|
||||
for (/* Nothing. */; l && l->sym; l = l->next)
|
||||
|
||||
Reference in New Issue
Block a user