Commit 37af6883d for imagemagick.org
commit 37af6883d609b50d94dbe717df747af1c7862850
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Mon May 18 17:51:55 2026 +0200
Corrected version check to fix the build error reported in #8740.
diff --git a/coders/heic.c b/coders/heic.c
index 2fba70fbc..ca4bc8632 100644
--- a/coders/heic.c
+++ b/coders/heic.c
@@ -122,7 +122,7 @@ static MagickBooleanType
% o exception: return any errors or warnings in this structure.
%
*/
-#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,19,0)
+#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,18,0)
static inline void HEICSetUint32SecurityLimit(const ImageInfo *image_info,
const char *name,uint32_t *value)
{