Commit 5921a78a0 for imagemagick.org
commit 5921a78a0f6d9a40119c71339c9c07c27f8f94d5
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sat Sep 5 14:44:24 2026 -0400
eliminate compiler warning
diff --git a/MagickCore/fx.c b/MagickCore/fx.c
index 4e31388b0..1b3679310 100644
--- a/MagickCore/fx.c
+++ b/MagickCore/fx.c
@@ -1082,7 +1082,7 @@ static MagickBooleanType ExtendRPN(FxInfo * pfx)
/*
Keep the original table and size intact unless growth succeeds.
*/
- element_count=(size_t) ceil(pfx->numElements*(1+TableExtend));
+ element_count=(int) ceil(pfx->numElements*(1+TableExtend));
new_elements=(ElementT *) AcquireQuantumMemory((size_t) element_count,
sizeof(*new_elements));
if (new_elements == (ElementT *) NULL)