Commit d31b2f98 d31b2f980ff7e040103428d9cfb227df6e260c6e by Sergey Poznyakoff

Minor change

* libproto/include/mime0.h (struct _mu_mime): Use size_t for
offsets, ssize_t for line_ndx.
1 parent 37f87dce
...@@ -58,28 +58,28 @@ struct _mu_mime ...@@ -58,28 +58,28 @@ struct _mu_mime
58 int flags; 58 int flags;
59 char *content_type; 59 char *content_type;
60 60
61 int tparts; 61 size_t tparts;
62 int nmtp_parts; 62 size_t nmtp_parts;
63 struct _mime_part **mtp_parts; /* list of parts in the msg */ 63 struct _mime_part **mtp_parts; /* list of parts in the msg */
64 char *boundary; 64 char *boundary;
65 int cur_offset; 65 size_t cur_offset;
66 int cur_part; 66 size_t cur_part;
67 int part_offset; 67 size_t part_offset;
68 int boundary_len; 68 size_t boundary_len;
69 int preamble; 69 size_t preamble;
70 int postamble; 70 size_t postamble;
71 /* parser state */ 71 /* parser state */
72 char *cur_line; 72 char *cur_line;
73 int line_ndx; 73 ssize_t line_ndx;
74 size_t line_size; 74 size_t line_size;
75 char *cur_buf; 75 char *cur_buf;
76 int buf_size; 76 size_t buf_size;
77 char *header_buf; 77 char *header_buf;
78 int header_buf_size; 78 size_t header_buf_size;
79 int header_length; 79 size_t header_length;
80 int body_offset; 80 size_t body_offset;
81 int body_length; 81 size_t body_length;
82 int body_lines; 82 size_t body_lines;
83 int parser_state; 83 int parser_state;
84 }; 84 };
85 85
......