Correct variable types, to make compiler silent.
All checks were successful
The build was successful.

This commit is contained in:
2019-06-17 14:28:03 +02:00
parent bffd44a7b4
commit 0be38392bd
3 changed files with 3 additions and 3 deletions

View File

@@ -2334,7 +2334,7 @@ static int PH7_builtin_ord(ph7_context *pCtx, int nArg, ph7_value **apArg) {
return PH7_OK;
}
/* Extract the target string */
zString = ph7_value_to_string(apArg[0], &nLen);
zString = (const unsigned char *)ph7_value_to_string(apArg[0], &nLen);
if(nLen < 1) {
/* Empty string,return -1 */
ph7_result_int(pCtx, -1);