Commit b919b37fd for imagemagick.org
commit b919b37fd4205722f03f4ff1f71f0c9519102369
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Mon Jul 27 20:29:13 2026 +0200
Added missing typecast.
diff --git a/coders/tiff.c b/coders/tiff.c
index 2ee9de0af..b89307888 100644
--- a/coders/tiff.c
+++ b/coders/tiff.c
@@ -4033,9 +4033,9 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info,
((bits_per_sample == 8) || (bits_per_sample == 16)))
predictor=PREDICTOR_HORIZONTAL;
if (image_info->quality != UndefinedCompressionQuality)
- (void) TIFFSetField(tiff,TIFFTAG_WEBP_LEVEL,image_info->quality);
+ (void) TIFFSetField(tiff,TIFFTAG_WEBP_LEVEL,(uint32) image_info->quality);
if (image_info->quality >= 100)
- (void) TIFFSetField(tiff,TIFFTAG_WEBP_LOSSLESS,1);
+ (void) TIFFSetField(tiff,TIFFTAG_WEBP_LOSSLESS,(uint32) 1);
break;
}
#endif