2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

strlen wants a char *, not an unsigned char *

This commit is contained in:
Brian Wellington
2000-06-22 01:36:34 +00:00
parent df05ff637f
commit 52cff07fe2

View File

@@ -53,7 +53,7 @@ test_noop() {
pkt.recvlength = 0x55667788;
pkt.result = 0;
nooprequest.datalength = strlen(TESTSTRING);
nooprequest.datalength = strlen((char *)TESTSTRING);
nooprequest.data = TESTSTRING;
ret = lwres_nooprequest_render(ctx, &nooprequest, &pkt, &b);
CHECK(ret, "lwres_nooprequest_render");