X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fjdatadst.cxx;h=547eb2fda4e889cbf3ffc48a33b8934003c1cd1f;hb=a3ffbfc78a251b19d02b647c51329276d175df26;hp=b07765539ed0b40c027e586f3862f6b7467fe2e2;hpb=e91342d20e4553e4479c23a300f98c8dff3424aa;p=gdcm.git diff --git a/src/jdatadst.cxx b/src/jdatadst.cxx index b0776553..547eb2fd 100644 --- a/src/jdatadst.cxx +++ b/src/jdatadst.cxx @@ -20,7 +20,7 @@ /* Expanded data destination object for stdio output */ extern "C" { - typedef int(*int_jpeg_compress_struct)(jpeg_compress_struct*); + typedef boolean(*boolean_jpeg_compress_struct)(jpeg_compress_struct*); typedef void(*void_jpeg_compress_struct)(jpeg_compress_struct*); } @@ -165,7 +165,7 @@ jpeg_stdio_dest (j_compress_ptr cinfo, std::ofstream * outfile) dest = (my_dest_ptr) cinfo->dest; dest->pub.init_destination = reinterpret_cast(init_destination); - dest->pub.empty_output_buffer = reinterpret_cast(empty_output_buffer); + dest->pub.empty_output_buffer = reinterpret_cast(empty_output_buffer); dest->pub.term_destination = reinterpret_cast(term_destination); dest->outfile = outfile; }