summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-04-17 09:50:34 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-04-17 09:50:34 +0000
commit22e0b5c0d8ae2eaa87801069a9f8915ddf8d307d (patch)
tree976455ab58ebb65cab68d39e86704cf1ca95b0ce /gv.c
parent256d1bb207447524e8a478707a9d2a73dc679170 (diff)
downloadperl-22e0b5c0d8ae2eaa87801069a9f8915ddf8d307d.tar.gz
Fix warning with int size in printf format
p4raw-id: //depot/perl@33703
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;