[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



From: Jim Meyering <meyering 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]