summaryrefslogtreecommitdiffstats
path: root/0001-fix-type-cast.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-type-cast.patch')
-rw-r--r--0001-fix-type-cast.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-fix-type-cast.patch b/0001-fix-type-cast.patch
new file mode 100644
index 0000000..0c69b4c
--- /dev/null
+++ b/0001-fix-type-cast.patch
@@ -0,0 +1,25 @@
+From a97ce11225d0b043ed62b8ef56e848d5578e11f2 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 18 Sep 2023 06:45:04 +0200
+Subject: [PATCH] fix type cast
+
+---
+ PerlMagick/quantum/quantum.xs.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in
+index d58ca0d53..96c65721d 100644
+--- a/PerlMagick/quantum/quantum.xs.in
++++ b/PerlMagick/quantum/quantum.xs.in
+@@ -10843,7 +10843,7 @@ Mogrify(ref,...)
+ channel=(ChannelType) argument_list[1].integer_reference;
+ method=UndefinedMorphology;
+ if (attribute_flag[2] != 0)
+- method=(MorphologyMethod)) argument_list[2].integer_reference;
++ method=(MorphologyMethod) argument_list[2].integer_reference;
+ iterations=1;
+ if (attribute_flag[3] != 0)
+ iterations=argument_list[3].integer_reference;
+--
+2.41.0
+