summaryrefslogtreecommitdiffstats
path: root/daemon/guestfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r--daemon/guestfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index c0d524aa..f9e5a682 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -544,10 +544,10 @@ add_string (char ***argv, int *size, int *alloc, const char *str)
return 0;
}
-int
+size_t
count_strings (char *const *argv)
{
- int argc;
+ size_t argc;
for (argc = 0; argv[argc] != NULL; ++argc)
;