From 023e41362436e744a0d48bb8c616fde78859ece0 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 2 Jun 2011 10:28:52 +0200 Subject: [PATCH] Reacted on -Wextra -Wno-unused-parameter warnings of gcc for libisofs/aaip-os-freebsd.c --- libisofs/aaip-os-freebsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libisofs/aaip-os-freebsd.c b/libisofs/aaip-os-freebsd.c index fa5e8e0..b9a8e13 100644 --- a/libisofs/aaip-os-freebsd.c +++ b/libisofs/aaip-os-freebsd.c @@ -229,7 +229,7 @@ ex:; if(ret <= 0 || (flag & (1 << 15))) { if(*names != NULL) { - for(i= 0; i < *num_attrs; i++) + for(i= 0; i < (ssize_t) *num_attrs; i++) free((*names)[i]); free(*names); } @@ -238,7 +238,7 @@ ex:; free(*value_lengths); *value_lengths= NULL; if(*values != NULL) { - for(i= 0; i < *num_attrs; i++) + for(i= 0; i < (ssize_t) *num_attrs; i++) free((*values)[i]); free(*values); }