]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 7 Oct 2010 00:39:45 +0000 (00:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 7 Oct 2010 00:39:45 +0000 (00:39 +0000)
coders/jpeg.c

index 9b1bac46a9449e907abf621b70dd7feb1bfdc17e..5e349a473f7edad260aba9ac3a769e74385b851a 100644 (file)
@@ -520,7 +520,7 @@ static boolean ReadIPTCProfile(j_decompress_ptr jpeg_info)
     }
   else
     {
-      if (strcmp(GetStringInfoDatum(profile),"8BIM") != 0)
+      if (strcmp((char *) GetStringInfoDatum(profile),"8BIM") != 0)
         status=SetImageProfile(image,"iptc",profile);
       else
         status=SetImageProfile(image,"8BIM",profile);