aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.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-tools.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-tools.c')
-rw-r--r--mail/mail-tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 195a02fe18..69617b14f9 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -110,7 +110,7 @@ mail_tool_get_local_movemail_path (const unsigned char *uri, CamelException *ex)
char *path, *full;
struct stat st;
- safe_uri = g_strdup (uri);
+ safe_uri = (unsigned char *)g_strdup ((const gchar *)uri);
for (c = safe_uri; *c; c++)
if (strchr("/:;=|%&#!*^()\\, ", *c) || !isprint((int) *c))
*c = '_';
@@ -154,7 +154,7 @@ mail_tool_do_movemail (const char *source_url, CamelException *ex)
}
/* Set up our destination. */
- dest_path = mail_tool_get_local_movemail_path (source_url, ex);
+ dest_path = mail_tool_get_local_movemail_path ((unsigned char *)source_url, ex);
if (dest_path == NULL)
return NULL;