From 49f5e9f1c957e4a5ecf64220c2db80f101b572ff Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 1 Sep 2011 13:44:57 +0000 Subject: [PATCH] --- coders/miff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/miff.c b/coders/miff.c index 08a00f612..4619e31ad 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -862,7 +862,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, AcquireString(keyword+8)); profile=BlobToStringInfo((const void *) NULL,(size_t) StringToLong(options)); - if (profile == (char *) NULL) + if (profile == (StringInfo *) NULL) ThrowReaderException(ResourceLimitError, "MemoryAllocationFailed"); (void) SetImageProfile(image,keyword+8,profile); -- 2.40.0