From: Raphael S. Carvalho Date: Mon, 8 Jul 2013 22:59:37 +0000 (-0700) Subject: kernel/auditfilter.c: fixing build warning X-Git-Tag: v3.11-rc1~67^2~115 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6beb8a23b50d38a003e80c5f16b50c56e8ae3387;p=karo-tx-linux.git kernel/auditfilter.c: fixing build warning kernel/auditfilter.c:426: warning: this decimal constant is unsigned only in ISO C90 Signed-off-by: Raphael S. Carvalho Cc: Eric Paris Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 6bd4a90d1991..0ee9eff866d6 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -423,7 +423,7 @@ static struct audit_entry *audit_data_to_entry(struct audit_rule_data *data, f->lsm_rule = NULL; /* Support legacy tests for a valid loginuid */ - if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295)) { + if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295U)) { f->type = AUDIT_LOGINUID_SET; f->val = 0; }