[Xfce4-commits] <xfce4-weather-plugin:master> Fix compiler warnings in weather-parsers.
Harald Judt
noreply at xfce.org
Sun Aug 19 10:22:02 CEST 2012
Updating branch refs/heads/master
to d501c00c5c09b7d1a2ae58afd218bca77c193fff (commit)
from c95bb31b9c103b7508272f72f2b41c96bf1b3c93 (commit)
commit d501c00c5c09b7d1a2ae58afd218bca77c193fff
Author: Harald Judt <h.judt at gmx.at>
Date: Sun Aug 19 10:15:16 2012 +0200
Fix compiler warnings in weather-parsers.
panel-plugin/weather-parsers.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/weather-parsers.c b/panel-plugin/weather-parsers.c
index 2316f68..091eba2 100644
--- a/panel-plugin/weather-parsers.c
+++ b/panel-plugin/weather-parsers.c
@@ -212,7 +212,7 @@ parse_time(xmlNode *cur_node,
xmlNode *child_node;
datatype = PROP(cur_node, "datatype");
- if (xmlStrcasecmp(datatype, "forecast")) {
+ if (xmlStrcasecmp((xmlChar *) datatype, (xmlChar *) "forecast")) {
xmlFree(datatype);
return;
}
@@ -266,7 +266,7 @@ parse_weather(xmlNode *cur_node)
if (NODE_IS_TYPE(cur_node, "product")) {
gchar *class = PROP(cur_node, "class");
- if (xmlStrcasecmp(class, "pointData")) {
+ if (xmlStrcasecmp((xmlChar *) class, (xmlChar *) "pointData")) {
xmlFree(class);
continue;
}
More information about the Xfce4-commits
mailing list