From: Ilia Alshanetsky Date: Mon, 20 Dec 2004 19:29:38 +0000 (+0000) Subject: Fixed bug #31174 (compile warning in url.c). X-Git-Tag: php-4.3.11RC1~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=787ad5fd122fcc40cdabaddf30d2495b713a030f;p=php Fixed bug #31174 (compile warning in url.c). --- diff --git a/NEWS b/NEWS index 8dc5ff9995..48d8253cfc 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, Version 4.3.11 +- Fixed bug #31174 (compile warning in url.c). (Ilia, lukem at NetBSD dot org) - Fixed bug #31120 (mssql_query returns false on successfull inserts and stored procedures). (Frank) - Fixed bug #31111 (Linux/Sparc: Compile failure of zend_strtod.c). (Derick) diff --git a/ext/standard/url.c b/ext/standard/url.c index 370c600c09..15a3ef60f0 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -97,7 +97,7 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length) { char port_buf[6]; php_url *ret = ecalloc(1, sizeof(php_url)); - char *s, *e, *p, *pp, *ue; + const char *s, *e, *p, *pp, *ue; s = str; ue = s + length;