Fix compile error with msvc

This commit is contained in:
Christoph Gohlke 2013-03-13 17:33:16 -07:00
parent 062397c0af
commit 9f09a9253c

View File

@ -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++)