Fix warning with int size in printf format
Rafael Garcia-Suarez [Thu, 17 Apr 2008 09:50:34 +0000 (09:50 +0000)]
p4raw-id: //depot/perl@33703

gv.c

diff --git a/gv.c b/gv.c
index fa01807..2b381a6 100644 (file)
--- 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;