From 0381c633dc0f13ec36743614cd4971243c31eaae Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 1 Sep 2011 18:02:13 +0000 Subject: [PATCH] --- coders/mpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/mpc.c b/coders/mpc.c index 45d67efe4..113c70ca1 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -581,7 +581,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) 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