bool type was wrong

IM expects a uchar, thanks mvgulik
This commit is contained in:
John Cupitt 2013-10-15 13:57:04 +01:00
parent d89007a8d4
commit db9d4e53a7

View File

@ -44,9 +44,11 @@ extern "C" {
/* jpeglib defines its own boolean type which then clashes with everyone
* elses. Turn it off and make our own.
*
* It has to be uchar to match imagemagick's expectations.
*/
#define HAVE_BOOLEAN
typedef int boolean;
typedef unsigned char boolean;
#include <jpeglib.h>
#include <jerror.h>