moriyoshi Tue Feb 25 13:51:23 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard html.c
Log:
MFH(r1.72): int / long change
Fixed bug #22301 (htmlspecialchars crashes on Tru64)
Index: php4/ext/standard/html.c
diff -u php4/ext/standard/html.c:1.63.2.6 php4/ext/standard/html.c:1.63.2.7
--- php4/ext/standard/html.c:1.63.2.6 Thu Jan 2 14:50:37 2003
+++ php4/ext/standard/html.c Tue Feb 25 13:51:21 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: html.c,v 1.63.2.6 2003/01/02 19:50:37 iliaa Exp $ */
+/* $Id: html.c,v 1.63.2.7 2003/02/25 18:51:21 moriyoshi Exp $ */
#include "php.h"
#if PHP_WIN32
@@ -830,7 +830,8 @@
{
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,
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php