mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-06 14:13:15 +03:00
Merge pull request #100 from cgohlke/patch-12
Fix compile error with msvc
This commit is contained in:
commit
b83b162dcb
|
@ -40,8 +40,8 @@ ImagingFill(Imaging im, const void* colour)
|
||||||
memset(im->image[y], 0, im->linesize);
|
memset(im->image[y], 0, im->linesize);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ImagingSectionEnter(&cookie);
|
|
||||||
INT32 c = 0L;
|
INT32 c = 0L;
|
||||||
|
ImagingSectionEnter(&cookie);
|
||||||
memcpy(&c, colour, im->pixelsize);
|
memcpy(&c, colour, im->pixelsize);
|
||||||
if (im->image32 && c != 0L) {
|
if (im->image32 && c != 0L) {
|
||||||
for (y = 0; y < im->ysize; y++)
|
for (y = 0; y < im->ysize; y++)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user