From a9a0477d5baa700ff1ea4ae6e5624390db9c826e Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 16 Jan 2018 11:44:34 -0500 Subject: [PATCH] Fixed undefined enumerator exception --- PerlMagick/Magick.xs | 2 +- PerlMagick/quantum/quantum.xs.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index 870b3a71c..e2c3534a3 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -142,7 +142,7 @@ extern "C" { */ typedef enum { - UndefinedReference = 0, + NullReference = 0, ArrayReference = (~0), RealReference = (~0)-1, FileReference = (~0)-2, diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index ecac64aa6..e950c610a 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -142,7 +142,7 @@ extern "C" { */ typedef enum { - UndefinedReference = 0, + NullReference = 0, ArrayReference = (~0), RealReference = (~0)-1, FileReference = (~0)-2, -- 2.40.0