locate: pass unsigned integer to _parse()
This commit is contained in:
parent
668e3f664f
commit
7725577a53
@ -86,7 +86,7 @@ locate_item_list_new(unsigned length)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct locate_item_list *
|
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)
|
if (argc % 2 != 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -62,7 +62,7 @@ locate_item_list_new(unsigned length);
|
|||||||
/* return number of items or -1 on error */
|
/* return number of items or -1 on error */
|
||||||
gcc_nonnull(1)
|
gcc_nonnull(1)
|
||||||
struct locate_item_list *
|
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)
|
gcc_nonnull(1)
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user