From 0cdff5948eed2b150c808c40f2cbded2cd0eb3be Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 10 May 2000 01:50:58 +0000 Subject: [PATCH] file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative --- bin/named/logconf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/named/logconf.c b/bin/named/logconf.c index 69e37a5013..8d2638dd72 100644 --- a/bin/named/logconf.c +++ b/bin/named/logconf.c @@ -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) {