[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-14 11:30:36 +00:00
parent a9e1dcfed2
commit 282e7ec8c0

View File

@ -1462,8 +1462,8 @@ ImagingReduce(Imaging imIn, int xscale, int yscale, int box[4]) {
imOut = ImagingNewDirty( imOut = ImagingNewDirty(
imIn->mode, imIn->mode,
(ImagingNewParams (ImagingNewParams){(box[2] + xscale - 1) / xscale,
){(box[2] + xscale - 1) / xscale, (box[3] + yscale - 1) / yscale} (box[3] + yscale - 1) / yscale}
); );
if (!imOut) { if (!imOut) {
return NULL; return NULL;