From 402bc9f81b3ff2b445fe714c402930fdf2af38f2 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 11 Feb 2017 20:38:11 -0500 Subject: [PATCH] ... --- MagickCore/pixel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MagickCore/pixel.c b/MagickCore/pixel.c index 442f4a2b4..0458cfdde 100644 --- a/MagickCore/pixel.c +++ b/MagickCore/pixel.c @@ -2363,9 +2363,9 @@ MagickExport MagickRealType GetPixelIntensity(const Image *magick_restrict image red, intensity; - red=GetPixelRed(image,pixel); - green=GetPixelGreen(image,pixel); - blue=GetPixelBlue(image,pixel); + red=(MagickRealType) GetPixelRed(image,pixel); + green=(MagickRealType) GetPixelGreen(image,pixel); + blue=(MagickRealType) GetPixelBlue(image,pixel); switch (image->intensity) { case AveragePixelIntensityMethod: @@ -4362,7 +4362,7 @@ MagickExport void InitializePixelChannelMap(Image *image) if (image->write_mask != MagickFalse) SetPixelChannelAttributes(image,WriteMaskPixelChannel,CopyPixelTrait,n++); image->number_channels=(size_t) n; - SetPixelChannelMask(image,image->channel_mask); + (void) SetPixelChannelMask(image,image->channel_mask); } /* -- 2.40.0