mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 21:50:05 -04:00
Silent WIN64 warnings (alrady fixed in master)
This commit is contained in:
parent
e1b5692773
commit
2fe1325e3a
3 changed files with 3 additions and 4 deletions
|
|
@ -1540,7 +1540,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)
|
||||
|
|
@ -1560,7 +1560,7 @@ rehash(dns_rbt_t *rbt) {
|
|||
unsigned int hash;
|
||||
unsigned int i;
|
||||
|
||||
oldsize = rbt->hashsize;
|
||||
oldsize = (unsigned int)rbt->hashsize;
|
||||
oldtable = rbt->hashtable;
|
||||
rbt->hashsize = rbt->hashsize * 2 + 1;
|
||||
rbt->hashtable = isc_mem_get(rbt->mctx,
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ fromtext_caa(ARGS_FROMTEXT) {
|
|||
ISC_FALSE));
|
||||
if (token.value.as_ulong > 255U)
|
||||
RETTOK(ISC_R_RANGE);
|
||||
flags = token.value.as_ulong;
|
||||
flags = token.value.as_ulong & 255U;
|
||||
RETERR(uint8_tobuffer(flags, target));
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1334,7 +1334,6 @@ static int
|
|||
completeio_send(isc_socket_t *sock, isc_socketevent_t *dev,
|
||||
struct msghdr *messagehdr, int cc, int send_errno)
|
||||
{
|
||||
char addrbuf[ISC_SOCKADDR_FORMATSIZE];
|
||||
char strbuf[ISC_STRERRORSIZE];
|
||||
|
||||
if (send_errno != 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue