summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-02-09 13:15:32 +0100
committerIngo Molnar <mingo@kernel.org>2019-02-09 13:15:32 +0100
commit9821517a53db9cd3116911547b865680b9e03b45 (patch)
tree48683ed54d2b2b871a3bb750a25921da0eca711c /tools/include
parentca3bb3d027f69ac3ab1dafb32bde2f5a3a44439c (diff)
parent3bb2600657dac78580e5b8fecc202eaaff5d4ced (diff)
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/in.h b/tools/include/uapi/linux/in.h
index f6052e70bf40..a55cb8b10165 100644
--- a/tools/include/uapi/linux/in.h
+++ b/tools/include/uapi/linux/in.h
@@ -268,7 +268,7 @@ struct sockaddr_in {
#define IN_MULTICAST(a) IN_CLASSD(a)
#define IN_MULTICAST_NET 0xe0000000
-#define IN_BADCLASS(a) ((((long int) (a) ) == 0xffffffff)
+#define IN_BADCLASS(a) (((long int) (a) ) == (long int)0xffffffff)
#define IN_EXPERIMENTAL(a) IN_BADCLASS((a))
#define IN_CLASSE(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000)