From ddd04b318103f864dae6ba7f17c3d1714b93c8a6 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 10 Mar 2018 16:17:36 -0500 Subject: [PATCH] ... --- MagickCore/colormap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/colormap.c b/MagickCore/colormap.c index 56128e617..2c8ea3403 100644 --- a/MagickCore/colormap.c +++ b/MagickCore/colormap.c @@ -138,7 +138,7 @@ MagickExport MagickBooleanType AcquireImageColormap(Image *image, image->colormap[i].red=pixel; image->colormap[i].green=pixel; image->colormap[i].blue=pixel; - image->colormap[i].alpha=OpaqueAlpha; + image->colormap[i].alpha=(MagickRealType) OpaqueAlpha; image->colormap[i].alpha_trait=BlendPixelTrait; } return(SetImageStorageClass(image,PseudoClass,exception)); -- 2.40.0