]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 3 Nov 2013 21:50:10 +0000 (21:50 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 3 Nov 2013 21:50:10 +0000 (21:50 +0000)
coders/jpeg.c

index 7015b5d797e14de915f0bd430af64dc111917ced..0ad5e88231ece42fe790079ed58320fe842c0b26 100644 (file)
@@ -1651,7 +1651,7 @@ static QuantizationTable *GetQuantizationTable(const char *filename,
   (void) LogMagickEvent(ConfigureEvent,GetMagickModule(),
     "Loading quantization tables \"%s\" ...",filename);
   table=(QuantizationTable *) NULL;
-  xml=FileToString(filename,~0,exception);
+  xml=FileToString(filename,~0U,exception);
   if (xml == (char *) NULL)
     return(table);
   quantization_tables=NewXMLTree(xml,exception);
@@ -2262,7 +2262,7 @@ static MagickBooleanType WriteJPEGImage(const ImageInfo *image_info,
         *jpeg_info;
 
       jpeg_info=CloneImageInfo(image_info);
-      jpeg_info->blob=NULL:
+      jpeg_info->blob=NULL;
       jpeg_image=CloneImage(image,0,0,MagickTrue,exception);
       if (jpeg_image != (Image *) NULL)
         {