forked from AuroraMiddleware/gtk
Cast to gchar* to fix a compilation warning
This commit is contained in:
parent
852d4f49cd
commit
8e945e0e3f
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user