From: Francis Dupont Date: Tue, 5 Jan 2016 17:37:31 +0000 (+0100) Subject: Silent WIN64 warnings X-Git-Tag: v9.11.0a1~208 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f2453ece5b6f7c0a5c446b357e3ea26ee5736e02;p=thirdparty%2Fbind9.git Silent WIN64 warnings --- diff --git a/lib/dns/rbt.c b/lib/dns/rbt.c index 686169eff3b..73f789f609f 100644 --- a/lib/dns/rbt.c +++ b/lib/dns/rbt.c @@ -2305,7 +2305,7 @@ inithash(dns_rbt_t *rbt) { unsigned int bytes; rbt->hashsize = RBT_HASH_SIZE; - bytes = rbt->hashsize * sizeof(dns_rbtnode_t *); + bytes = (unsigned int)rbt->hashsize * sizeof(dns_rbtnode_t *); rbt->hashtable = isc_mem_get(rbt->mctx, bytes); if (rbt->hashtable == NULL) @@ -2325,7 +2325,7 @@ rehash(dns_rbt_t *rbt, unsigned int newcount) { unsigned int hash; unsigned int i; - oldsize = rbt->hashsize; + oldsize = (unsigned int)rbt->hashsize; oldtable = rbt->hashtable; do { INSIST((rbt->hashsize * 2 + 1) > rbt->hashsize);