* src/symlist.c (symbol_list_length): Return int, not unsigned

int, since callers expect int.
This commit is contained in:
Paul Eggert
2006-07-09 19:55:15 +00:00
parent 08bc001306
commit b37acfe18c
2 changed files with 5 additions and 5 deletions

View File

@@ -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)