diff --git a/examples/decoder_jpeg.cc b/examples/decoder_jpeg.cc index f59db4ce35..65b5769412 100644 --- a/examples/decoder_jpeg.cc +++ b/examples/decoder_jpeg.cc @@ -357,7 +357,7 @@ InputImage loadJPEG(const char* filename) //read_raw = false; - cinfo.raw_data_out = read_raw; + cinfo.raw_data_out = boolean(read_raw); jpeg_start_decompress(&cinfo);