aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-formatter-utils.c')
-rw-r--r--em-format/e-mail-formatter-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/em-format/e-mail-formatter-utils.c b/em-format/e-mail-formatter-utils.c
index d5bff2ecd0..775ef1d6cc 100644
--- a/em-format/e-mail-formatter-utils.c
+++ b/em-format/e-mail-formatter-utils.c
@@ -474,13 +474,13 @@ e_mail_formatter_find_rfc822_end_iter (GList *rfc822_start_iter)
g_return_val_if_fail (rfc822_start_iter != NULL, NULL);
- part = (EMailPart *) link->data;
+ part = E_MAIL_PART (link->data);
g_return_val_if_fail (part != NULL, NULL);
end = g_strconcat (part->id, ".end", NULL);
while (link != NULL) {
- part = (EMailPart *) link->data;
+ part = E_MAIL_PART (link->data);
g_return_val_if_fail (part != NULL, NULL);
if (g_strcmp0 (part->id, end) == 0)