]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence "Different types treated as unsigned for >." warning
authorMark Andrews <marka@isc.org>
Wed, 27 Jun 2007 04:19:50 +0000 (04:19 +0000)
committerMark Andrews <marka@isc.org>
Wed, 27 Jun 2007 04:19:50 +0000 (04:19 +0000)
lib/dns/dispatch.c

index 99e8bbd3bbf670227af4e3c71610f9e16c06630c..ee13a65b00e1e1fe796cafc131cebece5aad2e72 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch.c,v 1.101.2.6.2.13.6.3 2007/06/26 06:09:08 marka Exp $ */
+/* $Id: dispatch.c,v 1.101.2.6.2.13.6.4 2007/06/27 04:19:50 marka Exp $ */
 
 #include <config.h>
 
@@ -2359,7 +2359,7 @@ nsid_hash(void *data, size_t len) {
         * We don't care about locking access to nsid_hash_state.
         * In fact races make the result even more non deteministic.
         */
-       while (len-- > 0) {
+       while (len-- > 0U) {
                nsid_hash_state = NSID_HASHROTATE(nsid_hash_state);
                nsid_hash_state += *p++;
        }