From: Evan Hunt Date: Thu, 30 Nov 2017 21:55:34 +0000 (-0800) Subject: [master] silence compiler warning X-Git-Tag: v9.12.0rc1~27 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=49a8cd6c01a8ee2a44676a0be5b11b1121f648cf;p=thirdparty%2Fbind9.git [master] silence compiler warning --- diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 4ff1f458660..82d1801edff 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -307,7 +307,7 @@ typedef isc_uint32_t rbtdb_rdatatype_t; #define RBTDB_RDATATYPE_BASE(type) ((dns_rdatatype_t)((type) & 0xFFFF)) #define RBTDB_RDATATYPE_EXT(type) ((dns_rdatatype_t)((type) >> 16)) -#define RBTDB_RDATATYPE_VALUE(base, ext) ((rbtdb_rdatatype_t)(((isc_uint32_t)ext) << 16) | ((isc_uint32_t)base) & 0xffff) +#define RBTDB_RDATATYPE_VALUE(base, ext) ((rbtdb_rdatatype_t)(((isc_uint32_t)ext) << 16) | (((isc_uint32_t)base) & 0xffff)) #define RBTDB_RDATATYPE_SIGNSEC \ RBTDB_RDATATYPE_VALUE(dns_rdatatype_rrsig, dns_rdatatype_nsec)