make Xcode 7.2 happy.
This commit is contained in:
6
3rdparty/libjpeg/jquant2.c
vendored
6
3rdparty/libjpeg/jquant2.c
vendored
@@ -265,9 +265,9 @@ typedef struct {
|
||||
INT32 volume;
|
||||
/* The number of nonzero histogram cells within this box */
|
||||
long colorcount;
|
||||
} box;
|
||||
} _box;
|
||||
|
||||
typedef box * boxptr;
|
||||
typedef _box * boxptr;
|
||||
|
||||
|
||||
LOCAL(boxptr)
|
||||
@@ -546,7 +546,7 @@ select_colors (j_decompress_ptr cinfo, int desired_colors)
|
||||
|
||||
/* Allocate workspace for box list */
|
||||
boxlist = (boxptr) (*cinfo->mem->alloc_small)
|
||||
((j_common_ptr) cinfo, JPOOL_IMAGE, desired_colors * SIZEOF(box));
|
||||
((j_common_ptr) cinfo, JPOOL_IMAGE, desired_colors * SIZEOF(_box));
|
||||
/* Initialize one box containing whole space */
|
||||
numboxes = 1;
|
||||
boxlist[0].c0min = 0;
|
||||
|
Reference in New Issue
Block a user