From 6310e8d5c910e0a6f75b5fe7e183949db55f12b3 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 11 Nov 2013 12:52:08 +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 1da8fd52d..cb6bf8ec6 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 != ~0) + if (dpx.image.orientation != (unsigned short) ~0) (void) FormatImageProperty(image,"dpx:image.orientation","%d", dpx.image.orientation); switch (dpx.image.orientation) -- 2.50.1