From 13264ba87e3564adeab39e5636831d201b26a8ed Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 7 Mar 2011 00:06:07 +0000 Subject: [PATCH] --- coders/hdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/hdr.c b/coders/hdr.c index 59bfd16d7..09d340619 100644 --- a/coders/hdr.c +++ b/coders/hdr.c @@ -337,7 +337,7 @@ static Image *ReadHDRImage(const ImageInfo *image_info,ExceptionInfo *exception) count=ReadBlob(image,4*sizeof(*pixel),pixel); if (count != 4) break; - if ((size_t) ((((size_t) pixel[2]) << 8) | pixel[3]) != image->columns) + if ((size_t) ((((size_t) pixel[2]) << 8) | pixel[3]) != image->columns) break; p=pixels; for (i=0; i < 4; i++) -- 2.40.0