[NETFILTER]: Fix gcc-3.4.x warning about iplicit operator precedence
authorHarald Welte <laforge@netfilter.org>
Fri, 12 Aug 2005 18:36:44 +0000 (11:36 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:57:14 +0000 (15:57 -0700)
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>
include/linux/netfilter.h

index 189ba67ba6032d4e741adc50624ac2572f3b0730..be365e70ee998a25865e4504fd853aa9b2bde2a3 100644 (file)
@@ -29,7 +29,7 @@
 #define NF_VERDICT_QMASK 0xffff0000
 #define NF_VERDICT_QBITS 16
 
-#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK | NF_QUEUE)
+#define NF_QUEUE_NR(x) (((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK) | NF_QUEUE)
 
 /* only for userspace compatibility */
 #ifndef __KERNEL__