summaryrefslogtreecommitdiff
path: root/calendar/backends/weather
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-08-13 15:56:44 +0000
committerRoss Burton <rburton@src.gnome.org>2007-08-13 15:56:44 +0000
commit63dfd050e8c08057634d4f7e2c83fc0692664bf1 (patch)
tree1078a82cbc25186b81d942555fc6932b01d63f6a /calendar/backends/weather
parentb0beb42ff9b8f87113933c21d622a5cc74c983b0 (diff)
downloadevolution-data-server-63dfd050e8c08057634d4f7e2c83fc0692664bf1.tar.gz
Fix compile warnings.
2007-08-13 Ross Burton <ross@openedhand.com> * libedata-cal/e-cal-backend-cache.c: * backends/weather/e-weather-source-ccf.c: * libecal/e-cal-component.c: Fix compile warnings. svn path=/trunk/; revision=7947
Diffstat (limited to 'calendar/backends/weather')
-rw-r--r--calendar/backends/weather/e-weather-source-ccf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/backends/weather/e-weather-source-ccf.c b/calendar/backends/weather/e-weather-source-ccf.c
index a5c775a2b..7b35a20f6 100644
--- a/calendar/backends/weather/e-weather-source-ccf.c
+++ b/calendar/backends/weather/e-weather-source-ccf.c
@@ -63,19 +63,19 @@ parse_for_url (char *code, char *name, xmlNode *parent)
{
xmlNode *child;
if (parent->type == XML_ELEMENT_NODE) {
- if (strcmp (parent->name, "location") == 0) {
+ if (strcmp ((char*)parent->name, "location") == 0) {
child = parent->children;
g_assert (child->type == XML_TEXT_NODE);
- if (strcmp (child->content, name) == 0) {
+ if (strcmp ((char*)child->content, name) == 0) {
xmlAttr *attr;
gchar *url = NULL;
for (attr = parent->properties; attr; attr = attr->next) {
- if (strcmp (attr->name, "code") == 0) {
- if (strcmp (attr->children->content, code) != 0)
+ if (strcmp ((char*)attr->name, "code") == 0) {
+ if (strcmp ((char*)attr->children->content, code) != 0)
return NULL;
}
- if (strcmp (attr->name, "url") == 0)
- url = attr->children->content;
+ if (strcmp ((char*)attr->name, "url") == 0)
+ url = (char*)attr->children->content;
}
return g_strdup (url);
}