fixed unsigned/signed compare
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@866 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
bab099bca6
commit
93ba0f958e
|
@ -181,7 +181,7 @@ int network_write_chunkqueue_writev(server *srv, connection *con, int fd, chunkq
|
|||
* - first mmap
|
||||
* - new mmap as the we are at the end of the last one */
|
||||
if (c->file.mmap.start == MAP_FAILED ||
|
||||
abs_offset == c->file.mmap.offset + c->file.mmap.length) {
|
||||
abs_offset == (off_t)(c->file.mmap.offset + c->file.mmap.length)) {
|
||||
|
||||
/* Optimizations for the future:
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue