From: Kalle Sommer Nielsen Date: Wed, 18 Aug 2010 18:00:33 +0000 (+0000) Subject: Nuke compiler warning, wrong fix that shouldn't have been in the previously commit X-Git-Tag: php-5.4.0alpha1~191^2~1073 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=250fcf9317c7d785a1e065b9101064b7b1fbe490;p=php Nuke compiler warning, wrong fix that shouldn't have been in the previously commit --- diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 7e2963b6ac..9ad9473c8e 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -848,7 +848,7 @@ static int fcgi_get_params(fcgi_request *req, unsigned char *p, unsigned char *e val_len |= *p++; } if (UNEXPECTED(name_len + val_len < 0) || - UNEXPECTED((unsigned char *) (name_len + val_len) > end - p)) { + UNEXPECTED(name_len + val_len > (unsigned int) (end - p))) { /* Malformated request */ ret = 0; break;