From eb35aa4cd66a6b32f078b39399d0ceabc91e4ebd Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 5 Jul 2025 08:57:39 +0200 Subject: [PATCH] Corrected typecast. --- coders/heic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/heic.c b/coders/heic.c index 4eaa886063..a7e8817fa8 100644 --- a/coders/heic.c +++ b/coders/heic.c @@ -1487,7 +1487,7 @@ static MagickBooleanType WriteHEICImage(const ImageInfo *image_info, (uint16_t) cicp.sigma); heif_nclx_color_profile_set_matrix_coefficients(nclx_profile, (uint16_t) cicp.xi); - nclx_profile->full_range_flag=(uint16_t) cicp.psi; + nclx_profile->full_range_flag=(uint8_t) cicp.psi; heif_image_set_nclx_color_profile(heif_image,nclx_profile); heif_nclx_color_profile_free(nclx_profile); }