silence VC compiler warning

(cherry picked from commit e09b9e7a91)
This commit is contained in:
Mark Andrews 2017-10-07 14:04:23 +11:00
parent 641361f1b1
commit 1be17c22cc

View file

@ -1776,7 +1776,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);