From: Kees Monshouwer Date: Mon, 24 Mar 2014 20:20:09 +0000 (+0100) Subject: fix compiler warning in dnsreplay.cc X-Git-Tag: rec-3.6.0-rc1~108^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60efa6368e5ac2969fb924dbec6ec8596f5200c1;p=thirdparty%2Fpdns.git fix compiler warning in dnsreplay.cc --- diff --git a/pdns/dnsreplay.cc b/pdns/dnsreplay.cc index 04cbfe3ab2..551ded3eab 100644 --- a/pdns/dnsreplay.cc +++ b/pdns/dnsreplay.cc @@ -310,7 +310,7 @@ uint64_t countLessThan(unsigned int msec) void emitFlightTimes() { uint64_t totals = countLessThan(flightTimes.size()); - unsigned int limits[]={1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 100, 200, 500, 1000, flightTimes.size()}; + unsigned int limits[]={1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 100, 200, 500, 1000, (unsigned int) flightTimes.size()}; uint64_t sofar=0; cout.setf(std::ios::fixed); cout.precision(2);