From: Antony Dovgal Date: Thu, 18 May 2006 22:36:14 +0000 (+0000) Subject: fix compile warning X-Git-Tag: php-4.4.3RC1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ccfd8e5f428370ce7afcf9d40f1ea916105ab53;p=php fix compile warning --- diff --git a/main/main.c b/main/main.c index 1894b7298e..d1bfd90797 100644 --- a/main/main.c +++ b/main/main.c @@ -501,7 +501,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c php_error(type, "%s(%s): %s", get_active_function_name(TSRMLS_C), params, buffer); } else if (PG(html_errors)) { int len; - char *replace = php_escape_html_entities(params, strlen(params), &len, 0, ENT_COMPAT, NULL TSRMLS_CC); + char *replace = php_escape_html_entities((unsigned char *)params, strlen(params), &len, 0, ENT_COMPAT, NULL TSRMLS_CC); php_error(type, "%s(%s) [%s]: %s", get_active_function_name(TSRMLS_C), replace, docref_root, docref, docref_target, docref, buffer); efree(replace); } else {