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 --- metaentry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'metaentry.h') diff --git a/metaentry.h b/metaentry.h index 09a58a9..82ac6f4 100644 --- a/metaentry.h +++ b/metaentry.h @@ -68,7 +68,7 @@ void mentries_fromfile(struct metahash **mhash, const char *path); /* Searches haystack for an xattr matching xattr number n in needle */ int mentry_find_xattr(struct metaentry *haystack, struct metaentry *needle, - int n); + unsigned n); #define DIFF_NONE 0x00 #define DIFF_OWNER 0x01 -- cgit v1.2.1