From: Harald Welte Date: Fri, 12 Aug 2005 18:36:44 +0000 (-0700) Subject: [NETFILTER]: Fix gcc-3.4.x warning about iplicit operator precedence X-Git-Tag: v2.6.14-rc1~1035^2~108 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b766b305d3f2d8be173e5d9853534ea1afdbabba;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 189ba67ba60..be365e70ee9 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -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__