mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
strlen wants a char *, not an unsigned char *
This commit is contained in:
@@ -53,7 +53,7 @@ test_noop() {
|
|||||||
pkt.recvlength = 0x55667788;
|
pkt.recvlength = 0x55667788;
|
||||||
pkt.result = 0;
|
pkt.result = 0;
|
||||||
|
|
||||||
nooprequest.datalength = strlen(TESTSTRING);
|
nooprequest.datalength = strlen((char *)TESTSTRING);
|
||||||
nooprequest.data = TESTSTRING;
|
nooprequest.data = TESTSTRING;
|
||||||
ret = lwres_nooprequest_render(ctx, &nooprequest, &pkt, &b);
|
ret = lwres_nooprequest_render(ctx, &nooprequest, &pkt, &b);
|
||||||
CHECK(ret, "lwres_nooprequest_render");
|
CHECK(ret, "lwres_nooprequest_render");
|
||||||
|
Reference in New Issue
Block a user