From: Brendan O'Dea Date: Mon, 16 May 2005 05:56:33 +0000 (+0000) Subject: supress warning X-Git-Tag: 2.2.1-2fdn3.1~19^2^2~1^2~183 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/2b5cae3b51b9b575d98acc611035b3dcf56c6d72 supress warning --- diff --git a/l2tpns.h b/l2tpns.h index 908180f..f96f9d6 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,5 +1,5 @@ // L2TPNS Global Stuff -// $Id: l2tpns.h,v 1.70 2005-05-16 05:50:54 bodea Exp $ +// $Id: l2tpns.h,v 1.71 2005-05-16 05:56:33 bodea Exp $ #ifndef __L2TPNS_H__ #define __L2TPNS_H__ @@ -24,7 +24,7 @@ #define RADIUS_SHIFT 6 #define RADIUS_MASK ((1 << RADIUS_SHIFT) - 1) -#define MAXRADIUS (1 << 8 + RADIUS_SHIFT) +#define MAXRADIUS (1 << (8 + RADIUS_SHIFT)) #define T_UNDEF (0xffff) // A tunnel ID that won't ever be used. Mark session as undefined. #define T_FREE (0) // A tunnel ID that won't ever be used. Mark session as free.