[gtk+] Cast to gchar* to fix a compilation warning



commit 8e945e0e3f1c7df4cb0873cc248181e03dcdc9ce
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Oct 22 00:00:52 2009 +0200

    Cast to gchar* to fix a compilation warning

 gdk-pixbuf/io-jpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
index 680a209..5435f5b 100644
--- a/gdk-pixbuf/io-jpeg.c
+++ b/gdk-pixbuf/io-jpeg.c
@@ -1046,7 +1046,7 @@ to_callback_do_write (j_compress_ptr cinfo, gsize length)
 	ToFunctionDestinationManager *destmgr;
 
 	destmgr	= (ToFunctionDestinationManager*) cinfo->dest;
-        if (!destmgr->save_func (destmgr->buffer,
+        if (!destmgr->save_func ((gchar *)destmgr->buffer,
 				 length,
 				 destmgr->error,
 				 destmgr->user_data)) {



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