Skip to content

Commit 12b239a

Browse files
authored
Try to make MSVC happy
Co-authored-by: Aarni Koskela <akx@iki.fi>
1 parent 3d10aff commit 12b239a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/libImaging/GetBBox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ ImagingGetExtrema(Imaging im, void *extrema) {
245245
}
246246

247247
int
248-
ImagingGetExtremaMultiband(Imaging im, UINT8 extrema[const 8]) {
248+
ImagingGetExtremaMultiband(Imaging im, UINT8 extrema[8]) {
249249
// Per-band min/max for interleaved 8-bit images (up to 4 bands).
250250
// Writes 2 * im->bands bytes to extrema as [min0, max0, min1, max1, ...].
251251
// Returns the band count on success, 0 for an empty image, or -1 on error.

src/libImaging/Imaging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ ImagingGetColors(Imaging im, int maxcolors, int *colors);
354354
extern int
355355
ImagingGetExtrema(Imaging im, void *extrema);
356356
extern int
357-
ImagingGetExtremaMultiband(Imaging im, UINT8 extrema[const 8]);
357+
ImagingGetExtremaMultiband(Imaging im, UINT8 extrema[8]);
358358
extern int
359359
ImagingGetProjection(Imaging im, UINT8 *xproj, UINT8 *yproj);
360360
extern ImagingHistogram

0 commit comments

Comments
 (0)