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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1070%2Fhead;p=thirdparty%2Fpdns.git Fix a warning during compilation --- diff --git a/pdns/responsestats.cc b/pdns/responsestats.cc index 92bf8899d0..9e47b9db62 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;