From: cristy Date: Sun, 19 Jul 2015 12:58:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~780 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2338982d794baf21b4c7a1f9a3057b314ee9383e;p=imagemagick --- diff --git a/coders/viff.c b/coders/viff.c index b8dda7eeb..0904294cf 100644 --- a/coders/viff.c +++ b/coders/viff.c @@ -592,7 +592,7 @@ static Image *ReadVIFFImage(const ImageInfo *image_info, if (value < 0) value=0; } - *p=(unsigned char) value; + *p=(unsigned char) ((Quantum) value); p++; } /*