mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Fix msvc compiler error
This commit is contained in:
parent
9581da4daa
commit
8fb8d2ec3a
|
@ -237,6 +237,7 @@ Imaging
|
|||
ImagingBoxBlur(Imaging imOut, Imaging imIn, float radius, int n)
|
||||
{
|
||||
int i;
|
||||
Imaging imTransposed;
|
||||
|
||||
if (n < 1) {
|
||||
return ImagingError_ValueError(
|
||||
|
@ -262,7 +263,7 @@ ImagingBoxBlur(Imaging imOut, Imaging imIn, float radius, int n)
|
|||
strcmp(imIn->mode, "LA") == 0))
|
||||
return ImagingError_ModeError();
|
||||
|
||||
Imaging imTransposed = ImagingNew(imIn->mode, imIn->ysize, imIn->xsize);
|
||||
imTransposed = ImagingNew(imIn->mode, imIn->ysize, imIn->xsize);
|
||||
if (!imTransposed)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user