From 24847cb9a754e4e10da39382db9beecb212db3a6 Mon Sep 17 00:00:00 2001 From: Nicko Dehaine Date: Wed, 20 May 2020 15:52:11 -0700 Subject: [PATCH] Use boolean for negation flag (class definition) --- pdns/dnsrecords.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.47.2