[Libguestfs] [PATCH libguestfs 7/9] destpaths.c: avoid signed/unsigned-comparison warning

Jim Meyering jim at meyering.net
Fri Aug 21 13:28:17 UTC 2009


From: Jim Meyering <meyering at redhat.com>

* fish/destpaths.c (free_words): Change param type: s/int/size_t/.
---
 fish/destpaths.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fish/destpaths.c b/fish/destpaths.c
index 8b6173a..275db49 100644
--- a/fish/destpaths.c
+++ b/fish/destpaths.c
@@ -61,7 +61,7 @@ struct word {
 };

 static void
-free_words (struct word *words, int nr_words)
+free_words (struct word *words, size_t nr_words)
 {
   size_t i;

-- 
1.6.4.378.g88f2f




More information about the Libguestfs mailing list