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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user