From d4bc94c2b55660933cd259e352a5183c3d4180e7 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Tue, 15 Mar 2022 09:53:34 +0100 Subject: [PATCH] Integral value of an algorithm should always be unsigned --- pdns/dnssecinfra.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnssecinfra.cc b/pdns/dnssecinfra.cc index 198bb791aa..6acf641840 100644 --- a/pdns/dnssecinfra.cc +++ b/pdns/dnssecinfra.cc @@ -297,7 +297,7 @@ void DNSCryptoKeyEngine::testMakers(unsigned int algo, maker_t* creator, maker_t { // FIXME: this block copy/pasted from makeFromISCString DNSKEYRecordContent dkrc; - int algorithm = 0; + unsigned int algorithm = 0; string sline, key, value, raw; std::istringstream str(dckeCreate->convertToISC()); map stormap; -- 2.47.3