diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-10-22 00:00:52 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2009-10-22 00:10:50 +0200 |
commit | 8e945e0e3f1c7df4cb0873cc248181e03dcdc9ce (patch) | |
tree | d47c4bae368a74cd3e690de142f908f72c939dee /gdk-pixbuf | |
parent | 852d4f49cd65c4a78791dfc781f504d6cbb9335c (diff) | |
download | gdk-pixbuf-8e945e0e3f1c7df4cb0873cc248181e03dcdc9ce.tar.gz |
Cast to gchar* to fix a compilation warning
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | 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 680a20904..5435f5b25 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)) { |