Commit 7725577a authored by Max Kellermann's avatar Max Kellermann

locate: pass unsigned integer to _parse()

parent 668e3f66
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment