Browse Source

Fix "comparison between signed and unsigned" warning on 64 bit in mod_fastcgi

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2288 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.20
Stefan Bühler 14 years ago
parent
commit
5194c28220
  1. 2
      src/mod_fastcgi.c

2
src/mod_fastcgi.c

@ -2196,7 +2196,7 @@ static int fcgi_create_env(server *srv, handler_ctx *hctx, size_t request_id) {
hctx->wb->bytes_in += weHave;
if (req_c->offset == req_c->mem->used - 1) {
if (req_c->offset == (off_t) req_c->mem->used - 1) {
chunkqueue_remove_finished_chunks(req_cq);
req_c = req_cq->first;

Loading…
Cancel
Save