From 09894a33d9a7a8a6259168b14fa526d2129069f8 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 24 Mar 2005 16:49:39 +0000 Subject: [PATCH] * fix compiler warning --- http_api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/http_api.c b/http_api.c index 5b23de2..66d616d 100644 --- a/http_api.c +++ b/http_api.c @@ -1050,7 +1050,8 @@ PHP_HTTP_API char *_http_negotiate_q(const char *entry, const HashTable *support { 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 @@ PHP_HTTP_API STATUS _http_parse_cookie(const char *cookie, HashTable *values TSR key = val + strlen(val); HTTP_COOKIE_FIXVAL(); HTTP_COOKIE_VAL(&array, "value", val, vallen); - } + } /* additional info appended */ else { char *keydup = NULL; -- 2.30.2