aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/locate.c2
-rw-r--r--src/locate.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/locate.c b/src/locate.c
index ef746213a..ba58c5d77 100644
--- a/src/locate.c
+++ b/src/locate.c
@@ -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;
diff --git a/src/locate.h b/src/locate.h
index 5682679d1..830ca219e 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -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