diff options
author | Richard Jones <rjones@redhat.com> | 2010-06-02 12:31:40 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-06-02 15:33:02 +0100 |
commit | aee7d55fcf754d97d945c318ec06d6387ade067b (patch) | |
tree | ada8ab1ceca42e6f9196a821a38e601470f89259 /daemon/guestfsd.c | |
parent | 50eed6d20de9b6d16975c3c0bbf6e545f8fba1fe (diff) | |
download | libguestfs-aee7d55fcf754d97d945c318ec06d6387ade067b.tar.gz libguestfs-aee7d55fcf754d97d945c318ec06d6387ade067b.tar.xz libguestfs-aee7d55fcf754d97d945c318ec06d6387ade067b.zip |
daemon: count_strings function returns size_t
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r-- | daemon/guestfsd.c | 4 |
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) ; |