mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +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);
 | 
					                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