From: cristy Date: Mon, 11 Nov 2013 12:52:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6310e8d5c910e0a6f75b5fe7e183949db55f12b3;p=imagemagick --- 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)