diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 09:57:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 09:57:58 +0800 |
commit | 187e0c0464e1db79762e2c80b0301eccb3312bad (patch) | |
tree | a789e769cd50cc69df585240499f81824a51b012 /e-util/e-event.c | |
parent | 37f9a97269207250d8a1f664aa6a1f4d1e810a59 (diff) | |
download | gsoc2013-evolution-187e0c0464e1db79762e2c80b0301eccb3312bad.tar.gz 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-event.c')
-rw-r--r-- | e-util/e-event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-event.c b/e-util/e-event.c index 235143c883..9510a6ce74 100644 --- a/e-util/e-event.c +++ b/e-util/e-event.c @@ -433,7 +433,7 @@ emph_construct_item(EPluginHook *eph, xmlNodePtr root, EEventHookClass *klass) 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); @@ -478,7 +478,7 @@ emph_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root) node = root->children; while (node) { - if (strcmp(node->name, "event") == 0) { + if (strcmp((char *)node->name, "event") == 0) { struct _EEventItem *item; item = emph_construct_item(eph, node, klass); |