]> granicus.if.org Git - pdns/commitdiff
Fix a warning during compilation
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 20 Oct 2013 19:50:32 +0000 (21:50 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 20 Oct 2013 19:50:32 +0000 (21:50 +0200)
pdns/responsestats.cc

index 92bf8899d09117f93c6a062fe112c1c24682b219..9e47b9db62d4e36c09932bb18b1d247737cacc77 100644 (file)
@@ -35,7 +35,7 @@ map<uint16_t, uint64_t> ResponseStats::getQTypeResponseCounts()
 {
   map<uint16_t, uint64_t> 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;