]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 27 Sep 2013 10:39:07 +0000 (10:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 27 Sep 2013 10:39:07 +0000 (10:39 +0000)
coders/dpx.c

index fa2fe9660b456a9ef6b0918e83bec3d956628ffb..3f6b3e1fe547fa01008b732c65446f90af1821be 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 != (unsigned short) (~0U))
+  if ((unsigned int) dpx.image.orientation != ~0U)
     (void) FormatImageProperty(image,"dpx:image.orientation","%d",
       dpx.image.orientation);
   switch (dpx.image.orientation)