From: Otto Moerbeek Date: Tue, 7 Jan 2020 11:31:22 +0000 (+0100) Subject: correct cast X-Git-Tag: auth-4.3.0-beta1~42^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8647%2Fhead;p=thirdparty%2Fpdns.git correct cast Co-Authored-By: Remi Gacogne --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index c7a2598ead..f5935938d2 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3970,7 +3970,7 @@ static int serviceMain(int argc, char*argv[]) if (SyncRes::s_qnameminimization) { // With an empty cache, a rev ipv6 query with dnssec enabled takes // almost 100 queries. Default maxqperq is 60. - SyncRes::s_maxqperq = std::max(SyncRes::s_maxqperq, 100); + SyncRes::s_maxqperq = std::max(SyncRes::s_maxqperq, static_cast(100)); } SyncRes::s_hardenNXD = SyncRes::HardenNXD::DNSSEC;