Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6beb8a23 authored by Raphael S. Carvalho's avatar Raphael S. Carvalho Committed by Linus Torvalds
Browse files

kernel/auditfilter.c: fixing build warning



  kernel/auditfilter.c:426: warning: this decimal constant is unsigned only in ISO C90

Signed-off-by: default avatarRaphael S. Carvalho <raphael.scarv@gmail.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 79f6530c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}