]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 1 Sep 2011 18:02:13 +0000 (18:02 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 1 Sep 2011 18:02:13 +0000 (18:02 +0000)
coders/mpc.c

index 45d67efe41349287a9bc6487bc2fdfe99d5c9d2c..113c70ca1a3ab3672536894eab0b6258f378f77a 100644 (file)
@@ -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);