about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 19:40:20 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 19:40:20 -0500
commit6fbf8bfd750a5c982b716bea0802692847918951 (patch)
treeab8fae5113a51fd2a8244af46ac33a5a83d61a51
parenta8c17e6587e68c4330999dd408d4add1d81296bf (diff)
downloadmusl-6fbf8bfd750a5c982b716bea0802692847918951.tar.gz
musl-6fbf8bfd750a5c982b716bea0802692847918951.tar.xz
musl-6fbf8bfd750a5c982b716bea0802692847918951.zip
another pointer signedness fix
-rw-r--r--src/network/__dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/__dns.c b/src/network/__dns.c
index 73ec422d..b8547bba 100644
--- a/src/network/__dns.c
+++ b/src/network/__dns.c
@@ -46,7 +46,7 @@ int __dns_doqueries(unsigned char *dest, const char *name, int *rr, int rrcnt)
 	/* Construct query template - RR and ID will be filled later */
 	if (strlen(name)-1 >= 254U) return -1;
 	q[2] = q[5] = 1;
-	strcpy(q+13, name);
+	strcpy((char *)q+13, name);
 	for (i=13; q[i]; i=j+1) {
 		for (j=i; q[j] && q[j] != '.'; j++);
 		if (j-i-1u > 62u) return -1;