aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index d1911abbea..176b03a1ff 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -557,12 +557,12 @@ e_plugin_register_type(GType type)
for (l=pdoc->plugins;l;l=g_slist_next(l)) {
xmlNodePtr root = l->data;
- char *type;
+ char *prop_type;
- type = xmlGetProp(root, "type");
- if (!strcmp(type, klass->type))
+ prop_type = xmlGetProp(root, "type");
+ if (!strcmp((char *)type, klass->type))
add = g_slist_append(add, l->data);
- xmlFree(type);
+ xmlFree(prop_type);
}
for (l=add;l;l=g_slist_next(l)) {