]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use boolean for negation flag (class definition)
authorNicko Dehaine <nicko@threatstop.com>
Wed, 20 May 2020 22:52:11 +0000 (15:52 -0700)
committerNicko Dehaine <nicko@threatstop.com>
Tue, 18 Aug 2020 23:16:44 +0000 (23:16 +0000)
pdns/dnsrecords.hh

index d39b72e2c01abdf873a8b8bf3330e733508f7b92..0653d5bfcb902fb5fb9a472394b9940ec27e831e 100644 (file)
@@ -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];