summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index fa01807274..2b381a6a51 100644
--- a/gv.c
+++ b/gv.c
@@ -671,7 +671,7 @@ Perl_gv_fetchmethod_flags(pTHX_ HV *stash, const char *name, U32 flags)
if (stash) {
Perl_croak(aTHX_
"Can't locate object method \"%s\" via package \"%.*s\"",
- name, HvNAMELEN_get(stash), HvNAME_get(stash));
+ name, (STRLEN)HvNAMELEN_get(stash), HvNAME_get(stash));
}
else {
STRLEN packlen;