[dia] [warningectomy] one more string cast



commit 4856726403dba8d2017bee610d38c85f673d36b2
Author: Hans Breuer <hans breuer org>
Date:   Sun Jan 30 16:54:20 2011 +0100

    [warningectomy] one more string cast

 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 ddc3c22..ab193b2 100644
--- a/lib/prop_pixbuf.c
+++ b/lib/prop_pixbuf.c
@@ -160,7 +160,7 @@ data_add_pixbuf (AttributeNode attr, GdkPixbuf *pixbuf)
   }
   /* g_base64_encode_close ... [needs] up to 5 bytes if line-breaking is enabled */
   /* also make the array 0-terminated */
-  g_byte_array_append (ed.array, "\0\0\0\0\0", 6);
+  g_byte_array_append (ed.array, (guint8 *)"\0\0\0\0\0", 6);
   ed.size += g_base64_encode_close (TRUE, (gchar *)&ed.array->data[ed.size], 
 				    &ed.state, &ed.save);
   ed.array->data[ed.size] = '\0';



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