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-inline-filter.c | |
parent | bdb60ce109c1a2958c89bb07b599407d26a2cf4f (diff) | |
download | gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.gz gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.bz2 gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.lz gsoc2013-evolution-13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c.tar.xz 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-inline-filter.c')
-rw-r--r-- | mail/em-inline-filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-inline-filter.c b/mail/em-inline-filter.c index 9549b6b1bd..b8a40d05e6 100644 --- a/mail/em-inline-filter.c +++ b/mail/em-inline-filter.c @@ -135,7 +135,7 @@ emif_add_part(EMInlineFilter *emif, const char *data, int len) else encoding = emif_types[emif->state].encoding; - g_byte_array_append(emif->data, data, len); + g_byte_array_append(emif->data, (unsigned char *)data, len); /* check the part will actually have content */ if (emif->data->len <= 0) { return; @@ -327,7 +327,7 @@ emif_scan(CamelMimeFilter *f, char *in, size_t len, int final) if (final) { emif_add_part(emif, data_start, inend-data_start); } else { - g_byte_array_append(emif->data, data_start, inend-data_start); + g_byte_array_append(emif->data, (unsigned char *)data_start, inend-data_start); } return 0; |