eliminate compiler exception

This commit is contained in:
Cristy
2025-05-31 12:56:17 -04:00
parent c94c096b65
commit ea417ac8ad
+1 -1
View File
@@ -1906,7 +1906,7 @@ MagickExport MagickBooleanType GetImageDistortion(Image *image,
}
}
for (i=0; i < (ssize_t) GetPixelChannels(image); i++)
channel_distortion[i]=MagickMin(MagickMax(channel_distortion[i],0.0),1.0);\
channel_distortion[i]=MagickMin(MagickMax(channel_distortion[i],0.0),1.0);
channel_distortion[CompositePixelChannel]=MagickMin(MagickMax(
channel_distortion[CompositePixelChannel],0.0),1.0);
*distortion=channel_distortion[CompositePixelChannel];