diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-24 17:58:42 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-24 17:58:42 +0300 |
commit | 248ffb29f578ca774705125eb25eb98e075f1c7f (patch) | |
tree | f45aabef166259e31287bc2d8f0ef1d299fd429e /src/message.c | |
parent | 93597a0e188332c150ff7429cb344fafb92f38a7 (diff) | |
download | rspamd-248ffb29f578ca774705125eb25eb98e075f1c7f.tar.gz rspamd-248ffb29f578ca774705125eb25eb98e075f1c7f.zip |
Fix warnings.
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.c b/src/message.c index 28880b8da..2077dbcf8 100644 --- a/src/message.c +++ b/src/message.c @@ -1137,7 +1137,7 @@ header_iterate (memory_pool_t * pool, struct gmime_raw_header *h, GList ** ret, } } } - h = h->next; + h = (struct gmime_raw_header *)h->next; } } #else @@ -1217,7 +1217,7 @@ multipart_iterate (GMimeObject * part, gpointer user_data) ls = g_mime_object_get_header_list (GMIME_OBJECT (part)); header_iterate (data->pool, ls, &l, data->field, data->strong); #else - h = part->headers->headers; + h = (struct gmime_raw_header *)part->headers->headers; header_iterate (data->pool, h, &l, data->field, data->strong); #endif if (l == NULL) { @@ -1257,7 +1257,7 @@ local_message_get_header (memory_pool_t * pool, GMimeMessage * message, const gc cb.strong = strong; #ifndef GMIME24 - struct raw_header *h; + struct gmime_raw_header *h; if (field == NULL) { return NULL; |