tony2001 Mon Oct 2 20:52:46 2006 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/standard url.c
Log:
fix compile warning
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/url.c?r1=1.58.2.21.2.4&r2=1.58.2.21.2.5&diff_format=u
Index: php-src/ext/standard/url.c
diff -u php-src/ext/standard/url.c:1.58.2.21.2.4
php-src/ext/standard/url.c:1.58.2.21.2.5
--- php-src/ext/standard/url.c:1.58.2.21.2.4 Thu Sep 28 15:16:40 2006
+++ php-src/ext/standard/url.c Mon Oct 2 20:52:46 2006
@@ -15,7 +15,7 @@
| Author: Jim Winstead <[EMAIL PROTECTED]>
|
+----------------------------------------------------------------------+
*/
-/* $Id: url.c,v 1.58.2.21.2.4 2006/09/28 15:16:40 iliaa Exp $ */
+/* $Id: url.c,v 1.58.2.21.2.5 2006/10/02 20:52:46 tony2001 Exp $ */
#include <stdlib.h>
#include <string.h>
@@ -204,7 +204,7 @@
}
{
- char *t = s;
+ const char *t = s;
p = NULL;
while (e > t && (t = memchr(t, '@', (e-t)))) {
p = t++;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php