Commit f2453ece authored by Francis Dupont's avatar Francis Dupont

Silent WIN64 warnings

parent b7c61384
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment