diff options
Diffstat (limited to 'mail/em-junk-hook.c')
-rw-r--r-- | mail/em-junk-hook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-junk-hook.c b/mail/em-junk-hook.c index 52fa280588..bdac680584 100644 --- a/mail/em-junk-hook.c +++ b/mail/em-junk-hook.c @@ -222,7 +222,7 @@ emjh_construct_group(EPluginHook *eph, xmlNodePtr root) /* We'll processs only the first item from xml file*/ while (node) { - if (0 == strcmp(node->name, "item")) { + if (0 == strcmp((char *)node->name, "item")) { struct _EMJunkHookItem *item; item = emjh_construct_item(eph, group, node); @@ -258,7 +258,7 @@ emjh_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root) node = root->children; while (node) { - if (strcmp(node->name, "group") == 0) { + if (strcmp((char *)node->name, "group") == 0) { struct _EMJunkHookGroup *group; group = emjh_construct_group(eph, node); |