diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-04-29 14:08:01 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-04-29 14:08:01 +0300 |
commit | d31b2f980ff7e040103428d9cfb227df6e260c6e (patch) | |
tree | bd40afedadf19a3f952bcbef11aac47271d8ea91 | |
parent | 37f87dce4a7b47cb4b61163b6f66ea6658eaf23b (diff) | |
download | mailutils-d31b2f980ff7e040103428d9cfb227df6e260c6e.tar.gz mailutils-d31b2f980ff7e040103428d9cfb227df6e260c6e.tar.bz2 |
Minor change
* libproto/include/mime0.h (struct _mu_mime): Use size_t for
offsets, ssize_t for line_ndx.
-rw-r--r-- | libproto/include/mime0.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libproto/include/mime0.h b/libproto/include/mime0.h index f002353ed..c1bce6477 100644 --- a/libproto/include/mime0.h +++ b/libproto/include/mime0.h @@ -58,28 +58,28 @@ struct _mu_mime int flags; char *content_type; - int tparts; - int nmtp_parts; + size_t tparts; + size_t nmtp_parts; struct _mime_part **mtp_parts; /* list of parts in the msg */ char *boundary; - int cur_offset; - int cur_part; - int part_offset; - int boundary_len; - int preamble; - int postamble; + size_t cur_offset; + size_t cur_part; + size_t part_offset; + size_t boundary_len; + size_t preamble; + size_t postamble; /* parser state */ char *cur_line; - int line_ndx; + ssize_t line_ndx; size_t line_size; char *cur_buf; - int buf_size; + size_t buf_size; char *header_buf; - int header_buf_size; - int header_length; - int body_offset; - int body_length; - int body_lines; + size_t header_buf_size; + size_t header_length; + size_t body_offset; + size_t body_length; + size_t body_lines; int parser_state; }; |