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-folder-map.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-folder-map.c')
-rw-r--r-- | e-util/e-folder-map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-folder-map.c b/e-util/e-folder-map.c index 28d3f502e3..b6ca6f1984 100644 --- a/e-util/e-folder-map.c +++ b/e-util/e-folder-map.c @@ -58,7 +58,7 @@ is_type_folder (const char *metadata, const char *search_type) return FALSE; } - if (!node->name || strcmp (node->name, "efolder") != 0) { + if (!node->name || strcmp ((char *)node->name, "efolder") != 0) { g_warning ("`%s' corrupt: root node is not 'efolder'", metadata); xmlFreeDoc (doc); return FALSE; @@ -66,8 +66,8 @@ is_type_folder (const char *metadata, const char *search_type) node = node->children; while (node != NULL) { - if (node->name && !strcmp (node->name, "type")) { - type = xmlNodeGetContent (node); + if (node->name && !strcmp ((char *)node->name, "type")) { + type = (char *)xmlNodeGetContent (node); if (!strcmp (type, search_type)) { xmlFreeDoc (doc); xmlFree (type); |