diff --git a/jcmarker.c b/jcmarker.c index 7e1af1f7..801fbab4 100644 --- a/jcmarker.c +++ b/jcmarker.c @@ -260,7 +260,7 @@ emit_dac(j_compress_ptr cinfo) for (i = 0; i < NUM_ARITH_TBLS; i++) { if (dc_in_use[i]) { emit_byte(cinfo, i); - emit_byte(cinfo, cinfo->arith_dc_L[i] + (cinfo->arith_dc_U[i]<<4)); + emit_byte(cinfo, cinfo->arith_dc_L[i] + (cinfo->arith_dc_U[i] << 4)); } if (ac_in_use[i]) { emit_byte(cinfo, i + 0x10); diff --git a/win/jconfig.h.in b/win/jconfig.h.in index e3c3d1cf..16ed0461 100644 --- a/win/jconfig.h.in +++ b/win/jconfig.h.in @@ -21,10 +21,10 @@ #undef __CHAR_UNSIGNED__ /* Define "boolean" as unsigned char, not int, per Windows custom */ -#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ +#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ typedef unsigned char boolean; #endif -#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ +#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ /* Define "INT32" as int, not long, per Windows custom */ #if !(defined(_BASETSD_H_) || defined(_BASETSD_H)) /* don't conflict if basetsd.h already read */