Browse Source

[1470] Correct data type of counter

Stephen Morris 13 years ago
parent
commit
cd4c9eb086
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/messagerenderer.cc

+ 1 - 1
src/lib/dns/messagerenderer.cc

@@ -117,7 +117,7 @@ private:
                           uint16_t pos, uint16_t& llen) const
     {
         if (llen == 0) {
-            int i = 0;
+            size_t i = 0;
 
             while ((buffer[pos] & Name::COMPRESS_POINTER_MARK8) ==
                    Name::COMPRESS_POINTER_MARK8) {