aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 300e68fb0f..364c87cf6e 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -358,7 +358,7 @@ emu_get_save_filesel (GtkWidget *parent, const char *title, const char *name, Gt
static void
emu_update_save_path(const char *filename, gboolean path)
{
- char *dir = path ? filename : g_path_get_dirname(filename);
+ char *dir = path ? (char *)filename : g_path_get_dirname(filename);
GConfClient *gconf = gconf_client_get_default();
gconf_client_set_string(gconf, "/apps/evolution/mail/save_dir", dir, NULL);