[dia] [warningectomy] 'xmlNewChild' differ in signedness



commit c144a9e97ebbf4b00440f43670af70ba604772e2
Author: Hans Breuer <hans breuer org>
Date:   Sat Dec 3 20:53:24 2011 +0100

    [warningectomy] 'xmlNewChild' differ in signedness

 lib/prop_pixbuf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/prop_pixbuf.c b/lib/prop_pixbuf.c
index 07b8d1b..37e861c 100644
--- a/lib/prop_pixbuf.c
+++ b/lib/prop_pixbuf.c
@@ -220,7 +220,7 @@ data_add_pixbuf (AttributeNode attr, GdkPixbuf *pixbuf)
   b64 = pixbuf_encode_base64 (pixbuf);
 
   if (b64)
-    (void)xmlNewChild (comp_attr, NULL, (const xmlChar *)"data", b64);
+    (void)xmlNewChild (comp_attr, NULL, (const xmlChar *)"data", (xmlChar *)b64);
 
   g_free (b64);
 }



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