]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 28 May 2014 14:24:51 +0000 (14:24 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 28 May 2014 14:24:51 +0000 (14:24 +0000)
coders/psd.c

index cfc243d661a258002893924084eaf8003c896ac4..83de7e17ad3f07943364650c83b8a23dccb4e2f2 100644 (file)
@@ -1198,7 +1198,7 @@ static MagickStatusType ReadPSDLayers(Image *image,const ImageInfo *image_info,
           if ((count != 0) && (LocaleNCompare(type,"Lr16",4) == 0))
             size=GetPSDSize(psd_info,image);
           else
-            if (DiscardBlobBytes(image,(MagickSizeType) size-quantum-12) == MagickFalse)
+            if (DiscardBlobBytes(image,(MagickSizeType) (size-quantum-12)) == MagickFalse)
               ThrowFileException(exception,CorruptImageError,
                 "UnexpectedEndOfFile",image->filename);
         }