From: Fred Morcos Date: Tue, 15 Mar 2022 08:53:34 +0000 (+0100) Subject: Integral value of an algorithm should always be unsigned X-Git-Tag: rec-4.7.0-beta1~56^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4bc94c2b55660933cd259e352a5183c3d4180e7;p=thirdparty%2Fpdns.git Integral value of an algorithm should always be unsigned --- 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;