mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Fix compile error with msvc
This commit is contained in:
parent
062397c0af
commit
9f09a9253c
|
@ -40,8 +40,8 @@ ImagingFill(Imaging im, const void* colour)
|
|||
memset(im->image[y], 0, im->linesize);
|
||||
}
|
||||
} else {
|
||||
ImagingSectionEnter(&cookie);
|
||||
INT32 c = 0L;
|
||||
ImagingSectionEnter(&cookie);
|
||||
memcpy(&c, colour, im->pixelsize);
|
||||
if (im->image32 && c != 0L) {
|
||||
for (y = 0; y < im->ysize; y++)
|
||||
|
|
Loading…
Reference in New Issue
Block a user