cvs: php-src(PHP_4_4) /ext/standard url.c
| From: | Antony Dovgal | Date: | Mon, 02 Oct 2006 20:52:46 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/standard url.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40845@lists.php.net to get a copy of this message | ||
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 <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $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++;