locate: pass unsigned integer to _parse()

This commit is contained in:
Max Kellermann 2012-08-07 23:37:28 +02:00
parent 668e3f664f
commit 7725577a53
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ locate_item_list_new(unsigned length)
}
struct locate_item_list *
locate_item_list_parse(char *argv[], int argc, bool fold_case)
locate_item_list_parse(char *argv[], unsigned argc, bool fold_case)
{
if (argc % 2 != 0)
return NULL;

View File

@ -62,7 +62,7 @@ locate_item_list_new(unsigned length);
/* return number of items or -1 on error */
gcc_nonnull(1)
struct locate_item_list *
locate_item_list_parse(char *argv[], int argc, bool fold_case);
locate_item_list_parse(char *argv[], unsigned argc, bool fold_case);
gcc_nonnull(1)
void