summaryrefslogtreecommitdiff
path: root/ext/mro
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mro')
-rw-r--r--ext/mro/mro.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mro/mro.xs b/ext/mro/mro.xs
index 1f099cbc6b..7b5a86d0ec 100644
--- a/ext/mro/mro.xs
+++ b/ext/mro/mro.xs
@@ -643,7 +643,7 @@ mro__nextcan(...)
assert(curstash);
gvp = (GV**)hv_fetch(curstash, subname,
- subname_utf8 ? -subname_len : subname_len, 0);
+ subname_utf8 ? -(I32)subname_len : (I32)subname_len, 0);
if (!gvp) continue;
candidate = *gvp;