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 | 7c7f5a95b84b8744a05f81aad3ca9af9319762e3 (patch) | |
tree | e0d9ed575982b6eeedee2bb64572229ed126c3d2 /gdk-pixbuf/io-jpeg.c | |
parent | dd34b28e90eb7e57a2f54348729e980dcda0b338 (diff) | |
download | gdk-pixbuf-7c7f5a95b84b8744a05f81aad3ca9af9319762e3.tar.gz |
Cast to gchar* to fix a compilation warning
Diffstat (limited to 'gdk-pixbuf/io-jpeg.c')
-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)) { |