aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local/camel-spoold-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/local/camel-spoold-store.c')
-rw-r--r--camel/providers/local/camel-spoold-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/local/camel-spoold-store.c b/camel/providers/local/camel-spoold-store.c
index addd727214..aba994cc91 100644
--- a/camel/providers/local/camel-spoold-store.c
+++ b/camel/providers/local/camel-spoold-store.c
@@ -259,7 +259,7 @@ static int scan_dir(CamelStore *store, GHashTable *visited, char *root, const ch
uri = g_strdup_printf("spoold:%s;noselect=yes#%s", root, path);
tmp = strrchr(path, '/');
if (tmp == NULL)
- tmp = path;
+ tmp = (char *)path;
else
tmp++;
fi = camel_folder_info_new(uri, path, tmp, -1);