Silent WIN64 warnings (alrady fixed in master)

This commit is contained in:
Francis Dupont 2016-01-05 18:57:28 +01:00
parent 695089f339
commit 74ee48f067
2 changed files with 1 additions and 2 deletions

View file

@ -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));
/*

View file

@ -1343,7 +1343,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) {