b2938d
From fa353c3d2833fc326233e0eb583753b4d7887a63 Mon Sep 17 00:00:00 2001
b2938d
From: Karl Williamson <khw@cpan.org>
b2938d
Date: Sun, 4 Oct 2020 11:07:19 -0600
b2938d
Subject: [PATCH] mro.xs: Fix compiler warning
b2938d
MIME-Version: 1.0
b2938d
Content-Type: text/plain; charset=UTF-8
b2938d
Content-Transfer-Encoding: 8bit
b2938d
b2938d
Fixes GH #18155
b2938d
b2938d
Signed-off-by: Petr Písař <ppisar@redhat.com>
b2938d
---
b2938d
 ext/mro/mro.xs | 2 +-
b2938d
 1 file changed, 1 insertion(+), 1 deletion(-)
b2938d
b2938d
diff --git a/ext/mro/mro.xs b/ext/mro/mro.xs
b2938d
index f21216af6e..8ce5844904 100644
b2938d
--- a/ext/mro/mro.xs
b2938d
+++ b/ext/mro/mro.xs
b2938d
@@ -253,7 +253,7 @@ S_mro_get_linear_isa_c3(pTHX_ HV* stash, U32 level)
b2938d
                hierarchy is not C3-incompatible */
b2938d
             if(!winner) {
b2938d
                 SV *errmsg;
b2938d
-                I32 i;
b2938d
+                Size_t i;
b2938d
 
b2938d
                 errmsg = newSVpvf(
b2938d
                            "Inconsistent hierarchy during C3 merge of class '%" HEKf "':\n\t"
b2938d
-- 
b2938d
2.25.4
b2938d