mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
strlen wants a char *, not an unsigned char *
This commit is contained in:
parent
df05ff637f
commit
52cff07fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue