ID:               31174
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lukem at NetBSD dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Warning
 Operating System: NetBSD
 PHP Version:      4.3.10
 New Comment:

Can you please show the exact warnings you are seeing.


Previous Comments:
------------------------------------------------------------------------

[2004-12-18 04:09:12] lukem at NetBSD dot org

Description:
------------
ext/standard/url.c::php_url_parse_ex() uses 'char *' pointers at
various places where 'char const *' (aka 'const char *') pointers
should be used instead.  This causes problems when compiling php with a
higher level of compiler warnings.

The fix is trivial.  Replace line 100 of ext/standard/url.c:
  char *s, *e, *p, *pp, *ue;
with
  char const *s, *e, *p, *pp, *ue;



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31174&edit=1

Reply via email to