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:
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);
}
\f
/*