Mercurial > hg > nginx
diff src/core/ngx_hunk.h @ 167:8aef3c72e5da
nginx-0.0.1-2003-10-30-19:51:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 30 Oct 2003 16:51:33 +0000 |
parents | 389d7ee9fa60 |
children | c42be4185301 |
line wrap: on
line diff
--- a/src/core/ngx_hunk.h Thu Oct 30 08:51:06 2003 +0000 +++ b/src/core/ngx_hunk.h Thu Oct 30 16:51:33 2003 +0000 @@ -67,7 +67,7 @@ typedef struct { int num; - ssize_t size; + size_t size; } ngx_bufs_t; @@ -117,8 +117,8 @@ #define ngx_hunk_size(h) \ - ((h->type & NGX_HUNK_IN_MEMORY) ? h->last - h->pos: \ - (size_t) (h->file_last - h->file_pos)) + ((h->type & NGX_HUNK_IN_MEMORY) ? (size_t) (h->last - h->pos): \ + (size_t) (h->file_last - h->file_pos)) ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size);