diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-11-25 23:49:38 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2015-02-07 23:31:43 +0100 |
commit | 31146f6d2a6518615f12bed375420a6d284fea61 (patch) | |
tree | 957f1f964f78d11d63f6edfddc5ad4393df4d423 /metastore.c | |
parent | 00e0d24cda49e88b4b66ed5bef8213698fd262a1 (diff) |
Avoid comparison between signed and unsigned integers.
This removes warnings shown during build with -Wextra flag.
Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
Diffstat (limited to 'metastore.c')
-rw-r--r-- | metastore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metastore.c b/metastore.c index de1bf07..323525a 100644 --- a/metastore.c +++ b/metastore.c @@ -112,7 +112,7 @@ compare_fix(struct metaentry *real, struct metaentry *stored, int cmp) gid_t gid = -1; uid_t uid = -1; struct utimbuf tbuf; - int i; + unsigned i; if (!real && !stored) { msg(MSG_ERROR, "%s called with incorrect arguments\n", |