[master] address VS2015 compiler warning

This commit is contained in:
Evan Hunt 2015-08-13 14:58:28 -07:00
parent f619a2035b
commit 45ad059c4a

View file

@ -512,7 +512,7 @@ fix_qname_skip_recurse(dns_rpz_zones_t *rpzs) {
* more significant bits are 0. (For instance,
* 0x0700 => 0x00ff, 0x0007 => 0x0000)
*/
mask = ~(zbits_req | -zbits_req);
mask = ~(zbits_req | ((~zbits_req) + 1));
/*
* As mentioned in (2) above, the zone corresponding to