Hopefully fix built on OSX El Capitan with libjpeg9

This commit is contained in:
Daniel Gibson 2017-02-27 20:19:00 +01:00
parent 787405f253
commit 3d57e99e0a

View file

@ -830,7 +830,7 @@ static void LoadJPG( const char *filename, unsigned char **pic, int *width, int
/* Step 3: read file parameters with jpeg_read_header() */
(void) jpeg_read_header(&cinfo, true );
(void) jpeg_read_header(&cinfo, (boolean)true);
/* We can ignore the return value from jpeg_read_header since
* (a) suspension is not possible with the stdio data source, and
* (b) we passed TRUE to reject a tables-only JPEG file as an error.