From 4ccfd8e5f428370ce7afcf9d40f1ea916105ab53 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 18 May 2006 22:36:14 +0000 Subject: [PATCH] fix compile warning --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.1