]> granicus.if.org Git - php/commitdiff
Fixed bug #31174 (compile warning in url.c).
authorIlia Alshanetsky <iliaa@php.net>
Mon, 20 Dec 2004 19:29:38 +0000 (19:29 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 20 Dec 2004 19:29:38 +0000 (19:29 +0000)
NEWS
ext/standard/url.c

diff --git a/NEWS b/NEWS
index 8dc5ff9995447f2b8f976c97045ef7c7884c17f8..48d8253cfc618385c6df8434ae809b7463dec254 100644 (file)
--- 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)
index 370c600c0929a2c1070570834cf7b4252070fbd7..15a3ef60f06f033b7341c3e684c4a27e7eabf7e8 100644 (file)
@@ -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;