diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 10:54:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 10:54:32 +0800 |
commit | 13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c (patch) | |
tree | 4b07162d272ac9568afaa2d00b0d618aa44edbe3 /mail/em-format-quote.c | |
parent | bdb60ce109c1a2958c89bb07b599407d26a2cf4f (diff) | |
download | gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.gz gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.zst gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.zip |
Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r-- | mail/em-format-quote.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index 87fccaba55..dc23976089 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -56,7 +56,7 @@ static EMFormatClass *emfq_parent; static void emfq_init(GObject *o) -{ +{ EMFormatQuote *emfq =(EMFormatQuote *) o; emfq->priv = g_malloc0(sizeof(*emfq->priv)); @@ -220,7 +220,7 @@ emfq_format_address (GString *out, struct _camel_header_address *a) g_string_append_printf (out, "%s <", name); /* rfc2368 for mailto syntax and url encoding extras */ - if ((real = camel_header_encode_phrase (a->name))) { + if ((real = camel_header_encode_phrase ((unsigned char *)a->name))) { mailaddr = g_strdup_printf ("%s <%s>", real, a->v.addr); g_free (real); mailto = camel_url_encode (mailaddr, "?=&()"); @@ -410,7 +410,7 @@ emfq_format_source(EMFormat *emf, CamelStream *stream, CamelMimePart *part) camel_stream_filter_add(filtered_stream, html_filter); camel_object_unref(html_filter); - em_format_format_text(emf, (CamelStream *)filtered_stream, part); + em_format_format_text(emf, (CamelStream *)filtered_stream, (CamelDataWrapper *)part); camel_object_unref(filtered_stream); } @@ -472,7 +472,7 @@ emfq_text_plain(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part, E camel_stream_filter_add(filtered_stream, html_filter); camel_object_unref(html_filter); - em_format_format_text((EMFormat *)emfq, (CamelStream *)filtered_stream, part); + em_format_format_text((EMFormat *)emfq, (CamelStream *)filtered_stream, (CamelDataWrapper *)part); camel_stream_flush((CamelStream *)filtered_stream); camel_object_unref(filtered_stream); } @@ -500,7 +500,7 @@ emfq_text_enriched(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part camel_object_unref(enriched); camel_stream_write_string(stream, "<br><hr><br>"); - em_format_format_text((EMFormat *)emfq, (CamelStream *)filtered_stream, part); + em_format_format_text((EMFormat *)emfq, (CamelStream *)filtered_stream, (CamelDataWrapper *)part); camel_object_unref(filtered_stream); } @@ -508,7 +508,7 @@ static void emfq_text_html(EMFormat *emf, CamelStream *stream, CamelMimePart *part, EMFormatHandler *info) { camel_stream_write_string(stream, "\n<!-- text/html -->\n"); - em_format_format_text(emf, stream, part); + em_format_format_text(emf, stream, (CamelDataWrapper *)part); } static void |