Use boolean not bool for libjpeg functions

Fixes build failure.
This commit is contained in:
Ryan Schmidt 2018-10-08 01:46:01 -05:00 committed by Vas Crabb
parent 543492f9c4
commit d49d8aa5e0

View File

@ -577,7 +577,7 @@ void render_load_jpeg(bitmap_argb32 &bitmap, emu_file &file, const char *dirname
jpeg_mem_src(&cinfo, jpg_buffer.get(), jpg_size); jpeg_mem_src(&cinfo, jpg_buffer.get(), jpg_size);
// read JPEG header and start decompression // read JPEG header and start decompression
jpeg_read_header(&cinfo, true); jpeg_read_header(&cinfo, TRUE);
jpeg_start_decompress(&cinfo); jpeg_start_decompress(&cinfo);
// allocates the destination bitmap // allocates the destination bitmap