From: Michael Wallner Date: Wed, 21 Aug 2013 17:17:22 +0000 (+0200) Subject: Fix pointer sign warning showing up in EVERY build X-Git-Tag: php-5.4.20RC1~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8023d13eb5c5c611a17b183b28c0a81233d8a1a;p=php Fix pointer sign warning showing up in EVERY build --- diff --git a/ext/standard/info.c b/ext/standard/info.c index 6bc406fede..cb2e469845 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -295,7 +295,7 @@ void php_info_print_style(TSRMLS_D) PHPAPI char *php_info_html_esc(char *string TSRMLS_DC) { size_t new_len; - return php_escape_html_entities(string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC); + return php_escape_html_entities((unsigned char *) string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC); } /* }}} */