cvs: pecl /http http_api.c
| From: | Michael Wallner | Date: | Thu, 24 Mar 2005 16:49:39 +0000 |
| Subject: | cvs: pecl /http http_api.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2905@lists.php.net to get a copy of this message | ||
mike Thu Mar 24 11:49:39 2005 EDT
Modified files:
/pecl/http http_api.c
Log:
* fix compiler warning
http://cvs.php.net/diff.php/pecl/http/http_api.c?r1=1.68&r2=1.69&ty=u
Index: pecl/http/http_api.c
diff -u pecl/http/http_api.c:1.68 pecl/http/http_api.c:1.69
--- pecl/http/http_api.c:1.68 Thu Mar 24 11:30:12 2005
+++ pecl/http/http_api.c Thu Mar 24 11:49:39 2005
@@ -13,7 +13,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: http_api.c,v 1.68 2005/03/24 16:30:12 mike Exp $ */
+/* $Id: http_api.c,v 1.69 2005/03/24 16:49:39 mike Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -1050,7 +1050,8 @@
{
zval *zaccept, zdelim, zarray, zentries, **zentry, **zsupp;
char *q_ptr = NULL, *key = NULL;
- int i = 0, idx = 0;
+ int i = 0;
+ ulong idx = 0;
double qual;
HTTP_GSC(zaccept, entry, estrdup(def));
@@ -1644,7 +1645,7 @@
key = val + strlen(val);
HTTP_COOKIE_FIXVAL();
HTTP_COOKIE_VAL(&array, "value", val, vallen);
- }
+ }
/* additional info appended */
else {
char *keydup = NULL;