From: dirk Date: Sun, 10 Nov 2013 21:25:56 +0000 (+0000) Subject: Fixed revert. X-Git-Tag: 7.0.1-0~3133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85c3603ed6ca4d8bbb7afed713f84a30ac6a228f;p=imagemagick Fixed revert. --- diff --git a/MagickCore/feature.c b/MagickCore/feature.c index 846418195..2b339aa75 100644 --- a/MagickCore/feature.c +++ b/MagickCore/feature.c @@ -270,17 +270,17 @@ MagickExport ChannelFeatures *GetImageFeatures(const Image *image, (void) ResetMagickMemory(&gray,0,sizeof(gray)); for (i=0; i <= (ssize_t) MaxMap; i++) { - if (grays[i].red != ~0UL) + if (grays[i].red != ~0U) grays[gray.red++].red=grays[i].red; - if (grays[i].green != ~0UL) + if (grays[i].green != ~0U) grays[gray.green++].green=grays[i].green; - if (grays[i].blue != ~0UL) + if (grays[i].blue != ~0U) grays[gray.blue++].blue=grays[i].blue; if (image->colorspace == CMYKColorspace) - if (grays[i].black != ~0UL) + if (grays[i].black != ~0U) grays[gray.black++].black=grays[i].black; if (image->alpha_trait == BlendPixelTrait) - if (grays[i].alpha != ~0UL) + if (grays[i].alpha != ~0U) grays[gray.alpha++].alpha=grays[i].alpha; } /*