]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 19 Jul 2015 12:58:13 +0000 (12:58 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 19 Jul 2015 12:58:13 +0000 (12:58 +0000)
coders/viff.c

index b8dda7eeb3e6a04989070ef12b30eab6d9cb8b1b..0904294cf91cef7eabbb3c387b9219b29c9b3ad7 100644 (file)
@@ -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++;
     }
     /*