]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix a clang-tidy warning 15151/head
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Thu, 13 Mar 2025 12:17:33 +0000 (13:17 +0100)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Thu, 13 Mar 2025 12:17:33 +0000 (13:17 +0100)
pdns/dnstap.cc

index dffd30d27a8bcbab9de9e9bb6b2505551138ccbc..a20957513c52cf1fd4f0c901d2595a630349b024 100644 (file)
@@ -132,6 +132,7 @@ DnstapMessage::DnstapMessage(std::string&& buffer, DnstapMessage::MessageType ty
     }
   }
   if (httpProtocol) {
+    // NOLINTNEXTLINE(bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions)
     pbf_message.add_enum(DnstapMessageFields::http_protocol, static_cast<protozero::pbf_tag_type>(*httpProtocol));
   }