summaryrefslogtreecommitdiffstats
path: root/fish/destpaths.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-21 15:02:16 +0200
committerJim Meyering <meyering@redhat.com>2009-08-21 15:24:25 +0200
commitfad78c609423fe10139b468ec229c3d6792718e2 (patch)
treebf98b1e44594ab3525ed7ddcf21b3f358c52782a /fish/destpaths.c
parent78e2a30b90621e417b8677868092bc6426d7b097 (diff)
downloadlibguestfs-fad78c609423fe10139b468ec229c3d6792718e2.tar.gz
libguestfs-fad78c609423fe10139b468ec229c3d6792718e2.tar.xz
libguestfs-fad78c609423fe10139b468ec229c3d6792718e2.zip
destpaths.c: avoid signed/unsigned-comparison warning
* fish/destpaths.c (free_words): Change param type: s/int/size_t/.
Diffstat (limited to 'fish/destpaths.c')
-rw-r--r--fish/destpaths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/destpaths.c b/fish/destpaths.c
index 8b6173aa..275db49a 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;