summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-04-17 10:03:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-04-17 10:03:04 +0000
commitc49b597d07430509a57aa1eb8401de4245277a3a (patch)
treee59a028d6d55aa5cd619db5d1a6c400d1000509c /gv.c
parent22e0b5c0d8ae2eaa87801069a9f8915ddf8d307d (diff)
downloadperl-c49b597d07430509a57aa1eb8401de4245277a3a.tar.gz
%.*s mandates an "int", says the C standard
p4raw-id: //depot/perl@33704
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 2b381a6a51..5eb09c2458 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, (STRLEN)HvNAMELEN_get(stash), HvNAME_get(stash));
+ name, (int)HvNAMELEN_get(stash), HvNAME_get(stash));
}
else {
STRLEN packlen;