summaryrefslogtreecommitdiffstats
path: root/0001-fix-type-cast.patch
blob: 0c69b4c56fa620660cf2091fa2dc997332d7fd30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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