From 8e945e0e3f1c7df4cb0873cc248181e03dcdc9ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 22 Oct 2009 00:00:52 +0200 Subject: [PATCH] Cast to gchar* to fix a compilation warning --- gdk-pixbuf/io-jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c index 680a209041..5435f5b252 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)) {