aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2005-08-12 14:36:44 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:57:14 -0400
commitb766b305d3f2d8be173e5d9853534ea1afdbabba (patch)
treef3368c13b2644965cb16dfd80dd044621ec35608
parent0a242efc4fb859b2da506cdf8f3366231602e4ff (diff)
[NETFILTER]: Fix gcc-3.4.x warning about iplicit operator precedence
Fix gcc-3.4.x warning about iplicit operator precedence in NF_QUEUE_NR() Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/netfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index 189ba67ba603..be365e70ee99 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -29,7 +29,7 @@
29#define NF_VERDICT_QMASK 0xffff0000 29#define NF_VERDICT_QMASK 0xffff0000
30#define NF_VERDICT_QBITS 16 30#define NF_VERDICT_QBITS 16
31 31
32#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK | NF_QUEUE) 32#define NF_QUEUE_NR(x) (((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK) | NF_QUEUE)
33 33
34/* only for userspace compatibility */ 34/* only for userspace compatibility */
35#ifndef __KERNEL__ 35#ifndef __KERNEL__