From 1b9daa113dde2db5b2a3bb29cabf1168fa2297dc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 26 Feb 2002 16:28:48 +0000 Subject: A few more little cleanups --- libc/inet/resolv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet/resolv.c') diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index 1f464f37f..cbf7b177b 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -539,7 +539,7 @@ int dns_lookup(const char *name, int type, int nscount, char **nsip, struct resolv_question q; int retries = 0; unsigned char * packet = malloc(PACKETSZ); - unsigned char * lookup = malloc(MAXDNAME); + char * lookup = malloc(MAXDNAME); int variant = 0; #ifdef __UCLIBC_HAS_IPV6__ int v6; -- cgit v1.2.3