2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

silence VC compiler warning

This commit is contained in:
Mark Andrews
2017-10-07 14:04:23 +11:00
parent fb5c7e04d3
commit e09b9e7a91

View File

@@ -2115,7 +2115,7 @@ process_keytag(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
client->keytag = isc_mem_get(client->mctx, optlen);
if (client->keytag != NULL) {
client->keytag_len = optlen;
client->keytag_len = (isc_uint16_t)optlen;
memmove(client->keytag, isc_buffer_current(buf), optlen);
}
isc_buffer_forward(buf, (unsigned int)optlen);