diff options
Diffstat (limited to 'mail/em-format-hook.c')
-rw-r--r-- | mail/em-format-hook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-hook.c b/mail/em-format-hook.c index b40c70b158..8aad0e7076 100644 --- a/mail/em-format-hook.c +++ b/mail/em-format-hook.c @@ -143,7 +143,7 @@ emfh_construct_group(EPluginHook *eph, xmlNodePtr root) node = root->children; while (node) { - if (0 == strcmp(node->name, "item")) { + if (0 == strcmp((char *)node->name, "item")) { struct _EMFormatHookItem *item; item = emfh_construct_item(eph, group, node); @@ -171,7 +171,7 @@ emfh_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 _EMFormatHookGroup *group; group = emfh_construct_group(eph, node); |