1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00

MFH(r1.72): int / long change

Fixed bug #22301 (htmlspecialchars crashes on Tru64)
This commit is contained in:
Moriyoshi Koizumi
2003-02-25 18:51:21 +00:00
parent 87b3063593
commit 4308ba9e42

View File

@@ -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,