From 31146f6d2a6518615f12bed375420a6d284fea61 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 25 Nov 2014 23:49:38 +0100 Subject: Avoid comparison between signed and unsigned integers. This removes warnings shown during build with -Wextra flag. Signed-off-by: Przemyslaw Pawelczyk --- metastore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'metastore.c') 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", -- cgit v1.2.1