aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-ops.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index c3b652d6fc..5d3345fa8b 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1339,10 +1339,9 @@ get_store_get (struct _mail_msg *mm)
/*camel_session_get_store connects us, which we don't want to do on startup. */
- m->store = camel_session_get_service (session, m->uri,
- CAMEL_PROVIDER_STORE,
- &mm->ex);
-
+ m->store = (CamelStore *) camel_session_get_service (session, m->uri,
+ CAMEL_PROVIDER_STORE,
+ &mm->ex);
}
static void