aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 10:54:32 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 10:54:32 +0800
commit13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c (patch)
tree4b07162d272ac9568afaa2d00b0d618aa44edbe3 /mail/mail-config.c
parentbdb60ce109c1a2958c89bb07b599407d26a2cf4f (diff)
downloadgsoc2013-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/mail-config.c')
-rw-r--r--mail/mail-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index d304a5d7f6..e85661bf53 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1130,7 +1130,7 @@ mail_config_signature_run_script (const char *script)
are known to not ever read the manual... we try to do our best if the
content isn't valid UTF-8 by assuming that the content is in the user's
preferred charset. */
- if (!g_utf8_validate (buffer->data, buffer->len, NULL)) {
+ if (!g_utf8_validate ((char *)buffer->data, buffer->len, NULL)) {
stream = (CamelStream *) memstream;
memstream = (CamelStreamMem *) camel_stream_mem_new ();
camel_stream_mem_set_byte_array (memstream, g_byte_array_new ());
@@ -1156,8 +1156,8 @@ mail_config_signature_run_script (const char *script)
camel_object_unref (memstream);
- g_byte_array_append (buffer, "", 1);
- content = buffer->data;
+ g_byte_array_append (buffer, (const unsigned char *)"", 1);
+ content = (char *)buffer->data;
g_byte_array_free (buffer, FALSE);
/* wait for the script process to terminate */