Correctly cast strlen() for %*s width argument.
We had fixed many of these warning before, but I missed this one since this file was not part of the distribution when we fixed the other cases.
This commit is contained in:
parent
be3d7b435d
commit
bccb762e9f
|
|
@ -63,7 +63,7 @@ static PLI_INT32 sys_clog2_compiletf(PLI_BYTE8 *name)
|
|||
|
||||
vpi_printf("%s $clog2 takes at most one argument.\n", msg);
|
||||
vpi_printf("%*s Found %u extra argument%s.\n",
|
||||
strlen(msg), " ", argc, argc == 1 ? "" : "s");
|
||||
(int) strlen(msg), " ", argc, argc == 1 ? "" : "s");
|
||||
vpi_control(vpiFinish, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue