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");