]> spindle.queued.net Git - midori/commitdiff
Cast xmlChar* to gchar* when setting the meta string
authorChristian Dywan <christian@twotoasts.de>
Thu, 9 Jul 2009 17:43:57 +0000 (18:43 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 9 Jul 2009 17:43:57 +0000 (18:43 +0100)
midori/midori-array.c

index 7f0073d3738932395bef8bbfe2a1a5d9eb887035..92e282aac66a4d0269d97d8e47375e4b3c285c68 100644 (file)
@@ -132,7 +132,7 @@ katze_xbel_parse_info (KatzeItem* item,
                         gchar* ns_value = g_strdup_printf ("%s:%s",
                             properties->ns->prefix, properties->name);
                         katze_item_set_meta_string (item,
-                            (gchar*)ns_value, value);
+                            (gchar*)ns_value, (gchar*)value);
                         g_free (ns_value);
                     }
                     else