From 30ec7a5c5bacd06c298e69ec023b7f71c6d735d2 Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 27 Sep 2013 10:39:07 +0000 Subject: [PATCH] --- coders/dpx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/dpx.c b/coders/dpx.c index fa2fe9660..3f6b3e1fe 100644 --- a/coders/dpx.c +++ b/coders/dpx.c @@ -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) -- 2.40.0