From 187e0c0464e1db79762e2c80b0301eccb3312bad Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 3 Jun 2007 01:57:58 +0000 Subject: Clean up compiler warnings in e-util directory (#438467). svn path=/trunk/; revision=33623 --- e-util/e-import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e-util/e-import.c') diff --git a/e-util/e-import.c b/e-util/e-import.c index 5a8ad50f0c..733269930d 100644 --- a/e-util/e-import.c +++ b/e-util/e-import.c @@ -491,7 +491,7 @@ emph_construct_importer(EPluginHook *eph, xmlNodePtr root) d(printf(" loading import item\n")); item = g_malloc0(sizeof(*item)); - tmp = xmlGetProp(root, "target"); + tmp = (char *)xmlGetProp(root, (const unsigned char *)"target"); if (tmp == NULL) goto error; map = g_hash_table_lookup(klass->target_map, tmp); @@ -542,7 +542,7 @@ emph_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root) node = root->children; while (node) { - if (strcmp(node->name, "importer") == 0) { + if (strcmp((char *)node->name, "importer") == 0) { struct _EImportHookImporter *ihook; ihook = emph_construct_importer(eph, node); -- cgit v1.2.3