From 4a0699f969293fe7d11c3171913615ec437d46b8 Mon Sep 17 00:00:00 2001 From: Cristy Date: Fri, 20 Oct 2023 20:42:08 -0400 Subject: [PATCH] revert --- coders/bmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/bmp.c b/coders/bmp.c index d3b7575a2..fb9f9ac34 100644 --- a/coders/bmp.c +++ b/coders/bmp.c @@ -1573,7 +1573,7 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) unsigned short *p16; - p16=(unsigned short *) pixels+(image->rows-y-1)*bytes_per_line; + p16=(unsigned short *) (pixels+(image->rows-y-1)*bytes_per_line); q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); if (q == (PixelPacket *) NULL) break;