From: Michael Wallner Date: Thu, 24 Mar 2005 16:49:39 +0000 (+0000) Subject: * fix compiler warning X-Git-Tag: RELEASE_0_7_0~5 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=09894a33d9a7a8a6259168b14fa526d2129069f8;p=m6w6%2Fext-http * fix compiler warning --- 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;