diff --git a/bin/named/logconf.c b/bin/named/logconf.c index 0b0c7eb725..b136c4620e 100644 --- a/bin/named/logconf.c +++ b/bin/named/logconf.c @@ -96,7 +96,8 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) { return (ISC_R_UNEXPECTED); } (void)dns_c_logchan_getversions(cchan, - (unsigned int)&versions); + &((isc_uint32_t) + versions)); (void)dns_c_logchan_getsize(cchan, &size); dest.file.stream = NULL; dest.file.name = cchan->u.filec.path;