]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 11 Nov 2013 12:52:08 +0000 (12:52 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 11 Nov 2013 12:52:08 +0000 (12:52 +0000)
coders/dpx.c

index 1da8fd52de4baa9a1d4d606f624282f06340050a..cb6bf8ec6ea7b16ad5f837c4126263dafd24196a 100644 (file)
@@ -774,7 +774,7 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception)
   */
   dpx.image.orientation=ReadBlobShort(image);
   offset+=2;
-  if (dpx.image.orientation != ~0)
+  if (dpx.image.orientation != (unsigned short) ~0)
     (void) FormatImageProperty(image,"dpx:image.orientation","%d",
       dpx.image.orientation);
   switch (dpx.image.orientation)