Cast to gchar* to fix a compilation warning

This commit is contained in:
Javier Jardón 2009-10-22 00:00:52 +02:00
parent 852d4f49cd
commit 8e945e0e3f

View File

@ -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)) {