2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 23:55:27 +00:00

WIN32 master fixes

This commit is contained in:
Francis Dupont
2014-02-19 23:17:52 +01:00
parent fd75aaa2b9
commit f1a6c8e78c
5 changed files with 9 additions and 4 deletions

View File

@@ -1644,7 +1644,7 @@ process_sit(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
memcpy(client->cookie, isc_buffer_current(buf), 8);
else
memset(client->cookie, 0, 8);
isc_buffer_forward(buf, optlen);
isc_buffer_forward(buf, (unsigned int)optlen);
if (optlen == 8)
isc_stats_increment(ns_g_server->nsstats,