fixed argument type mismatch in dns_c_logchan_getversions call

This commit is contained in:
David Lawrence
2000-05-10 18:38:21 +00:00
parent ff8d15be4e
commit 2ffe094fab

View File

@@ -95,11 +95,12 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) {
"no file name");
return (ISC_R_UNEXPECTED);
}
(void)dns_c_logchan_getversions(cchan, &versions);
(void)dns_c_logchan_getversions(cchan,
(unsigned int)&versions);
(void)dns_c_logchan_getsize(cchan, &size);
dest.file.stream = NULL;
dest.file.name = cchan->u.filec.path;
dest.file.versions = (int)versions;
dest.file.versions = versions;
dest.file.maximum_size = size;
}
break;