]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
correct cast 8647/head
authorOtto Moerbeek <otto@drijf.net>
Tue, 7 Jan 2020 11:31:22 +0000 (12:31 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Jan 2020 11:31:22 +0000 (12:31 +0100)
Co-Authored-By: Remi Gacogne <rgacogne@users.noreply.github.com>
pdns/pdns_recursor.cc

index c7a2598ead491663dc7fb3c70d99628b12e9af12..f5935938d2bb05107aca4aa86a2bf244248b22f4 100644 (file)
@@ -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<unsigned int>(100));
   }
 
   SyncRes::s_hardenNXD = SyncRes::HardenNXD::DNSSEC;