cvs: php-src(PHP_4_4) /main main.c
| From: | Antony Dovgal | Date: | Thu, 18 May 2006 22:36:14 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38273@lists.php.net to get a copy of this message | ||
tony2001 Thu May 18 22:36:14 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/main main.c
Log:
fix compile warning
http://cvs.php.net/viewcvs.cgi/php-src/main/main.c?r1=1.512.2.63.2.10&r2=1.512.2.63.2.11&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.512.2.63.2.10 php-src/main/main.c:1.512.2.63.2.11
--- php-src/main/main.c:1.512.2.63.2.10 Thu May 18 22:30:52 2006
+++ php-src/main/main.c Thu May 18 22:36:14 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.63.2.10 2006/05/18 22:30:52 tony2001 Exp $ */
+/* $Id: main.c,v 1.512.2.63.2.11 2006/05/18 22:36:14 tony2001 Exp $ */
/* {{{ includes
*/
@@ -501,7 +501,7 @@
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) [<a href='%s%s%s'>%s</a>]: %s",
get_active_function_name(TSRMLS_C), replace, docref_root, docref, docref_target, docref, buffer);
efree(replace);
} else {