mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
3681. [port] Update the Windows build system to support feature
selection and WIN64 builds. This is a work in progress. [RT #34160]
This commit is contained in:
@@ -8592,7 +8592,7 @@ ns_server_add_zone(ns_server_t *server, char *args) {
|
||||
|
||||
/* Try to parse the argument string */
|
||||
arglen = strlen(args);
|
||||
isc_buffer_init(&argbuf, args, arglen);
|
||||
isc_buffer_init(&argbuf, args, (unsigned int)arglen);
|
||||
isc_buffer_add(&argbuf, strlen(args));
|
||||
CHECK(cfg_parser_create(server->mctx, ns_g_lctx, &parser));
|
||||
CHECK(cfg_parse_buffer(parser, &argbuf, &cfg_type_addzoneconf,
|
||||
@@ -9186,7 +9186,7 @@ ns_server_signing(ns_server_t *server, char *args, isc_buffer_t *text) {
|
||||
if (n >= isc_buffer_availablelength(text))
|
||||
CHECK(ISC_R_NOSPACE);
|
||||
|
||||
isc_buffer_add(text, n);
|
||||
isc_buffer_add(text, (unsigned int)n);
|
||||
}
|
||||
if (!first && isc_buffer_availablelength(text) > 0)
|
||||
isc_buffer_putuint8(text, 0);
|
||||
|
Reference in New Issue
Block a user