]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1470] Correct data type of counter
authorStephen Morris <stephen@isc.org>
Mon, 12 Dec 2011 19:13:05 +0000 (19:13 +0000)
committerStephen Morris <stephen@isc.org>
Mon, 12 Dec 2011 19:13:05 +0000 (19:13 +0000)
src/lib/dns/messagerenderer.cc

index 02f5519d456b1f8910edb80dd5cee5273b2f0b43..1378ba9076cb734788f631776e354c3e21de146e 100644 (file)
@@ -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) {