projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540f325
)
Fix pointer sign warning showing up in EVERY build
author
Michael Wallner
<mike@php.net>
Wed, 21 Aug 2013 17:17:22 +0000
(19:17 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 21 Aug 2013 17:17:22 +0000
(19:17 +0200)
ext/standard/info.c
patch
|
blob
|
history
diff --git
a/ext/standard/info.c
b/ext/standard/info.c
index 6bc406feded2c453b36559a733599da449b49b6d..cb2e4698457a24572d18f2c08a415c862fabdff6 100644
(file)
--- 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);
}
/* }}} */