Mercurial > hg > nginx
diff src/core/ngx_hunk.h @ 290:87e73f067470
nginx-0.0.2-2004-03-16-10:10:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 07:10:12 +0000 |
parents | 2357fa41738a |
children | 5cfd65b8b0a7 |
line wrap: on
line diff
--- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -45,14 +45,14 @@ typedef void * ngx_hun typedef struct ngx_hunk_s ngx_hunk_t; struct ngx_hunk_s { - char *pos; - char *last; + u_char *pos; + u_char *last; off_t file_pos; off_t file_last; int type; - char *start; /* start of hunk */ - char *end; /* end of hunk */ + u_char *start; /* start of hunk */ + u_char *end; /* end of hunk */ ngx_hunk_tag_t tag; ngx_file_t *file; ngx_hunk_t *shadow; @@ -69,7 +69,7 @@ struct ngx_chain_s { typedef struct { - int num; + ngx_int_t num; size_t size; } ngx_bufs_t; @@ -87,7 +87,7 @@ typedef struct { unsigned need_in_temp; ngx_pool_t *pool; - int hunks; + ngx_int_t hunks; ngx_bufs_t bufs; ngx_hunk_tag_t tag;