From 24fe57b6da9eba91dbb0d45c2860da9c3cf5bc7d Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 11 May 2000 15:25:05 +0000 Subject: [PATCH] sorry, screwed up the cast in the last revision. cast a pointer to an int, when i wanted to cast the int to unsigned then make a pointer. --- bin/named/logconf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;