From: Nicko Dehaine Date: Wed, 20 May 2020 22:52:11 +0000 (-0700) Subject: Use boolean for negation flag (class definition) X-Git-Tag: rec-4.4.0-beta1~4^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24847cb9a754e4e10da39382db9beecb212db3a6;p=thirdparty%2Fpdns.git Use boolean for negation flag (class definition) --- diff --git a/pdns/dnsrecords.hh b/pdns/dnsrecords.hh index d39b72e2c0..0653d5bfcb 100644 --- a/pdns/dnsrecords.hh +++ b/pdns/dnsrecords.hh @@ -794,7 +794,7 @@ public: private: uint16_t d_family; uint8_t d_prefix; - unsigned int d_n : 1; + bool d_n : 1; unsigned int d_afdlength : 7; uint8_t d_ip4[4]; unsigned char d_ip6[16];