From 8b30d7041aa567ce0213c6ba21834e84cbfc3cee Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Mon, 1 Feb 2016 22:23:49 +0100 Subject: metaentry.c: Do not compare signed and unsigned integer. --- src/metaentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/metaentry.c b/src/metaentry.c index 25bb00f..84e0f5d 100644 --- a/src/metaentry.c +++ b/src/metaentry.c @@ -657,7 +657,7 @@ mentries_dump(struct metahash *mhash) mentry->owner, mentry->group, date, mentry->mtimensec, zone, mentry->path, S_ISDIR(mentry->mode) ? "/" : ""); - for (int i = 0; i < mentry->xattrs; i++) { + for (unsigned i = 0; i < mentry->xattrs; i++) { printf("\t\t\t\t%s%s\t%s=", mentry->path, S_ISDIR(mentry->mode) ? "/" : "", mentry->xattr_names[i]); -- cgit v1.2.1