summaryrefslogtreecommitdiff
path: root/metaentry.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-11-25 23:49:38 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-02-07 23:31:43 +0100
commit31146f6d2a6518615f12bed375420a6d284fea61 (patch)
tree957f1f964f78d11d63f6edfddc5ad4393df4d423 /metaentry.h
parent00e0d24cda49e88b4b66ed5bef8213698fd262a1 (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 'metaentry.h')
-rw-r--r--metaentry.h2
1 files changed, 1 insertions, 1 deletions
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