We should use %z to match (SyString *) length and to not display trash.
已通過所有檢查
The build was successful.
已通過所有檢查
The build was successful.
This commit is contained in:
父節點
c419b8605d
當前提交
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 */
|
||||
|
載入中…
x
新增問題並參考
Block a user