From: Rafael Garcia-Suarez Date: Thu, 17 Apr 2008 09:50:34 +0000 (+0000) Subject: Fix warning with int size in printf format X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=22e0b5c0d8ae2eaa87801069a9f8915ddf8d307d;p=p5sagit%2Fp5-mst-13.2.git Fix warning with int size in printf format p4raw-id: //depot/perl@33703 --- diff --git a/gv.c b/gv.c index fa01807..2b381a6 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;