Commit 2ffe094f authored by David Lawrence's avatar David Lawrence
Browse files

fixed argument type mismatch in dns_c_logchan_getversions call

parent ff8d15be
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment