make Xcode 7.2 happy.

This commit is contained in:
KeySecure
2016-01-13 20:19:19 +08:00
parent 70cb17bf64
commit e6ac2ca3c9
4 changed files with 7 additions and 7 deletions

View File

@@ -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;