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/mail-signature-editor.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/mail-signature-editor.c')
-rw-r--r-- | mail/mail-signature-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index eba4bf0bef..011f9f7a05 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -108,7 +108,7 @@ get_text (Bonobo_PersistStream persist, const char *format, CORBA_Environment *e stream_mem = BONOBO_STREAM_MEM (stream); text = g_byte_array_new (); - g_byte_array_append (text, stream_mem->buffer, stream_mem->pos); + g_byte_array_append (text, (unsigned char *)stream_mem->buffer, stream_mem->pos); bonobo_object_unref (BONOBO_OBJECT (stream)); return text; @@ -172,7 +172,7 @@ menu_file_save_cb (BonoboUIComponent *uic, void *user_data, const char *path) goto exception; } - if (write_all (fd, text->data, text->len) == -1) { + if (write_all (fd, (char *)text->data, text->len) == -1) { g_byte_array_free (text, TRUE); close (fd); goto exception; |