From 97741ef83e4ec9203b206650f0bccdf3dea4492e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 2 Jun 2000 03:18:12 +0000 Subject: [PATCH] ndata and offsets for dns_rootname and dns_wildcardname need to be unsigned char * (not char *) to match the ndata and offsets in dns_name_t. --- lib/dns/name.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/name.c b/lib/dns/name.c index 9490d38457..bc1a48e255 100644 --- a/lib/dns/name.c +++ b/lib/dns/name.c @@ -167,8 +167,8 @@ do { \ */ struct dns_constname { dns_name_t name; - char const_ndata[2]; - char const_offsets[1]; + unsigned char const_ndata[2]; + unsigned char const_offsets[1]; }; static struct dns_constname root = {