git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SELinux: header generation may hit infinite loop
[pandora-kernel.git]
/
scripts
/
selinux
/
genheaders
/
genheaders.c
diff --git
a/scripts/selinux/genheaders/genheaders.c
b/scripts/selinux/genheaders/genheaders.c
index
771b86f
..
2462696
100644
(file)
--- a/
scripts/selinux/genheaders/genheaders.c
+++ b/
scripts/selinux/genheaders/genheaders.c
@@
-13,7
+13,7
@@
struct security_class_mapping {
#include "classmap.h"
#include "initial_sid_to_string.h"
-#define max(x, y) ((
x > y
) ? x : y)
+#define max(x, y) ((
(int)(x) > (int)(y)
) ? x : y)
const char *progname;