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.
This commit is contained in:
David Lawrence 2000-06-02 03:18:12 +00:00
parent 705cb05a18
commit 97741ef83e

View file

@ -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 = {