From: Mark Andrews Date: Wed, 27 Jun 2007 04:21:27 +0000 (+0000) Subject: silence "Different types treated as unsigned for >." warning X-Git-Tag: v9.2.0b1^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8748cdc7c29099154fe2c86c45d6e82c37d3b441;p=thirdparty%2Fbind9.git silence "Different types treated as unsigned for >." warning --- diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index 0af9d3a4001..d3c690b9856 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dispatch.c,v 1.101.2.20 2007/06/26 06:10:08 marka Exp $ */ +/* $Id: dispatch.c,v 1.101.2.21 2007/06/27 04:21:27 marka Exp $ */ #include @@ -2247,7 +2247,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++; }