aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 09:57:58 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 09:57:58 +0800
commit187e0c0464e1db79762e2c80b0301eccb3312bad (patch)
treea789e769cd50cc69df585240499f81824a51b012 /e-util/e-config.c
parent37f9a97269207250d8a1f664aa6a1f4d1e810a59 (diff)
downloadgsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar
gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar.gz
gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar.bz2
gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar.lz
gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar.xz
gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar.zst
gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.zip
Clean up compiler warnings in e-util directory (#438467).
svn path=/trunk/; revision=33623
Diffstat (limited to 'e-util/e-config.c')
-rw-r--r--e-util/e-config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 11bd5492b3..2cfc9f4ce7 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -1396,7 +1396,7 @@ emph_construct_menu(EPluginHook *eph, xmlNodePtr root)
d(printf(" loading menu\n"));
menu = g_malloc0(sizeof(*menu));
- 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);
@@ -1417,7 +1417,7 @@ emph_construct_menu(EPluginHook *eph, xmlNodePtr root)
menu->hook = (EConfigHook *)eph;
node = root->children;
while (node) {
- if (0 == strcmp(node->name, "item")) {
+ if (0 == strcmp((char *)node->name, "item")) {
struct _EConfigItem *item;
item = emph_construct_item(eph, menu, node, map);
@@ -1448,7 +1448,7 @@ emph_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 _EConfigHookGroup *group;
group = emph_construct_menu(eph, node);