From b534d5f57fe3dee3a0f9ea41d2583245c2036e8b Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 8 Aug 2000 01:56:44 +0000 Subject: [PATCH] INSIST added in previous change did not compile --- bin/named/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index d5696de927..d6466b10f9 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.212 2000/08/08 00:44:21 gson Exp $ */ +/* $Id: server.c,v 1.213 2000/08/08 01:56:44 gson Exp $ */ #include @@ -885,7 +885,7 @@ create_authors_zone(dns_zonemgr_t *zmgr, dns_view_t *view) { for (i = 0; authors[i] != NULL; i++) { cr.base = authors[i]; cr.length = strlen(authors[i]); - INSIST(cr.length == cr.base[0] + 1); + INSIST(cr.length == ((const unsigned char *)cr.base)[0] + 1U); dns_rdata_fromregion(&rdata, dns_rdataclass_ch, dns_rdatatype_txt, (isc_region_t *)&cr); tuple = NULL;