summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-02-01 22:23:49 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-02-01 22:23:49 +0100
commit8b30d7041aa567ce0213c6ba21834e84cbfc3cee (patch)
tree17374807bfedd96e37002037b1b03d3d5e18044d /src
parent72ca616380695963d5707db49ef5b78d5b34a1ed (diff)
metaentry.c: Do not compare signed and unsigned integer.
Diffstat (limited to 'src')
-rw-r--r--src/metaentry.c2
1 files changed, 1 insertions, 1 deletions
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]);