We should use %z to match (SyString *) length and to not display trash.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
c419b8605d
commit
370465fe79
|
@ -619,7 +619,7 @@ static ph7_vm_func *VmOverload(
|
|||
}
|
||||
if(i < 1) {
|
||||
/* No candidates, throw an error */
|
||||
VmErrorFormat(&(*pVm), PH7_CTX_ERR, "Invalid number of arguments passed to function/method '%s'", pList->sName);
|
||||
VmErrorFormat(&(*pVm), PH7_CTX_ERR, "Invalid number of arguments passed to function/method '%z()'", &pList->sName);
|
||||
}
|
||||
if(nArg < 1 || i < 2) {
|
||||
/* Return the only candidate */
|
||||
|
|
Loading…
Reference in New Issue