From 8edb532ca21b386bbd2db77e7777b3a067ff1815 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 27 Jun 2007 04:10:44 +0000 Subject: [PATCH] silence "Different types treated as unsigned for >." warning --- lib/dns/dispatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index f2489f157a..07235da8cb 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dispatch.c,v 1.136 2007/06/26 06:02:37 marka Exp $ */ +/* $Id: dispatch.c,v 1.137 2007/06/27 04:10:44 marka Exp $ */ /*! \file */ @@ -2415,7 +2415,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++; }