diff options
author | Max Kellermann <max@duempel.org> | 2012-08-07 23:37:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-07 23:44:43 +0200 |
commit | 7725577a5347958de47476f4659c74094d18de32 (patch) | |
tree | f7355b5a5f7bdf968932a872040c5e38c00d5e78 | |
parent | 668e3f664f1632ec7ef97afb4fbe467d02be85d9 (diff) | |
download | mpd-7725577a5347958de47476f4659c74094d18de32.tar.gz mpd-7725577a5347958de47476f4659c74094d18de32.tar.xz mpd-7725577a5347958de47476f4659c74094d18de32.zip |
locate: pass unsigned integer to _parse()
-rw-r--r-- | src/locate.c | 2 | ||||
-rw-r--r-- | src/locate.h | 2 |
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 |