Author: drzeus
Date: 2005-04-06 15:06:06 +0200 (Wed, 06 Apr 2005)
New Revision: 445
Modified:
plugins/evolution2/src/evolution2_xml.c
Log:
gcc4 fixes
Modified: plugins/evolution2/src/evolution2_xml.c
===================================================================
--- plugins/evolution2/src/evolution2_xml.c 2005-04-06 13:05:41 UTC (rev 444)
+++ plugins/evolution2/src/evolution2_xml.c 2005-04-06 13:06:06 UTC (rev 445)
@@ -47,7 +47,7 @@
return FALSE;
}
- if (xmlStrcmp(cur->name, "config")) {
+ if (xmlStrcmp(cur->name, (xmlChar*)"config")) {
osync_debug("EVO2-SYNC", 0, "data seems not to be a valid configdata.\n");
xmlFreeDoc(doc);
return FALSE;
@@ -56,7 +56,7 @@
cur = cur->xmlChildrenNode;
while (cur != NULL) {
- char *str = xmlNodeGetContent(cur);
+ char *str = (char*)xmlNodeGetContent(cur);
if (str) {
if (!xmlStrcmp(cur->name, (const xmlChar *)"adress_path")) {
env->addressbook_path = g_strdup(str);
|