diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-25 18:51:21 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-02-25 18:51:21 +0000 |
commit | 4308ba9e42540f28dbabbbeaef9712c4e18b825d (patch) | |
tree | c4add37889548341d782823e1ad3426cd6be492e /ext/standard/html.c | |
parent | 87b3063593c58c467e55a99b3b8ebb44b74f4efa (diff) | |
download | php-git-4308ba9e42540f28dbabbbeaef9712c4e18b825d.tar.gz |
MFH(r1.72): int / long change
Fixed bug #22301 (htmlspecialchars crashes on Tru64)
Diffstat (limited to 'ext/standard/html.c')
-rw-r--r-- | ext/standard/html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c index 29f544435a..793b18f661 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -830,7 +830,8 @@ static void php_html_entities(INTERNAL_FUNCTION_PARAMETERS, int all) { char *str, *hint_charset = NULL; int str_len, hint_charset_len = 0; - int len, quote_style = ENT_COMPAT; + int len; + long quote_style = ENT_COMPAT; char *replaced; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ls", &str, &str_len, |