From 91092e26b401b0bd2b600604eda457470551fdb4 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 1 Jun 2022 14:36:42 +0200 Subject: [PATCH] dnsname: Cast to uint8_t, not unsigned char, in RawLabelsVisitor ctor --- pdns/dnsname.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsname.cc b/pdns/dnsname.cc index 1f302e4bb5..c2b48e9fd7 100644 --- a/pdns/dnsname.cc +++ b/pdns/dnsname.cc @@ -567,7 +567,7 @@ DNSName::RawLabelsVisitor::RawLabelsVisitor(const DNSName::string_t& storage): d { size_t position = 0; while (position < storage.size()) { - auto labelLength = static_cast(storage.at(position)); + auto labelLength = static_cast(storage.at(position)); if (labelLength == 0) { break; } -- 2.47.2