2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative

This commit is contained in:
David Lawrence
2000-05-10 01:50:58 +00:00
parent c2e880fa8b
commit 0cdff5948e

View File

@@ -79,7 +79,11 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) {
type = ISC_LOG_TOFILE;
{
const char *path = NULL;
isc_uint32_t versions = ISC_LOG_ROLLNEVER;
isc_int32_t versions = ISC_LOG_ROLLNEVER;
/*
* XXXDCL should be isc_offset_t, but that
* is incompatible with dns_c_logchan_getsize.
*/
isc_uint32_t size = 0;
(void)dns_c_logchan_getpath(cchan, &path);
if (path == NULL) {