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:
Cary R 2008-08-26 09:44:44 -07:00 committed by Stephen Williams
parent be3d7b435d
commit bccb762e9f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}