mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
Hopefully fix built on OSX El Capitan with libjpeg9
This commit is contained in:
parent
787405f253
commit
3d57e99e0a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue