[grilo-plugins] upnp: Fix warning



commit 385e0feadd97dfd4d2442efea1579604add34c90
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Thu Feb 3 11:20:19 2011 +0100

    upnp: Fix warning
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/upnp/grl-upnp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/upnp/grl-upnp.c b/src/upnp/grl-upnp.c
index a3485e1..6b25b75 100644
--- a/src/upnp/grl-upnp.c
+++ b/src/upnp/grl-upnp.c
@@ -712,7 +712,7 @@ get_thumbnail (GList *nodes)
       if (is_image (node)) {
         if (val)
           g_free (val);
-        val = xmlNodeGetContent (node);
+        val = (gchar *) xmlNodeGetContent (node);
 
         if (has_thumbnail_marker (node))  /* that's definitely it! */
           return val;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]