From: Ruben Kerkhof Date: Sun, 20 Oct 2013 19:50:32 +0000 (+0200) Subject: Fix a warning during compilation X-Git-Tag: rec-3.6.0-rc1~393^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f96a40b452c59178c88104382239f72c340af55d;p=pdns Fix a warning during compilation --- diff --git a/pdns/responsestats.cc b/pdns/responsestats.cc index 92bf8899d..9e47b9db6 100644 --- a/pdns/responsestats.cc +++ b/pdns/responsestats.cc @@ -35,7 +35,7 @@ map ResponseStats::getQTypeResponseCounts() { map ret; uint64_t count; - for(int i = 0 ; i < d_qtypecounters.size() ; ++i) { + for(unsigned int i = 0 ; i < d_qtypecounters.size() ; ++i) { count= d_qtypecounters[i]; if(count) ret[i]=count;