summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2009-11-13 09:07:24 -0500
committerVincent Pit <vince@profvince.com>2009-11-13 17:44:17 +0100
commitfea10cf637669988fe9f4b11a9a5981982c8450a (patch)
tree6d2c3b3d35198f5b8e12e35e054ce7e24b21ab9e
parent07822e36092e080b01d96c8587e0cd6b19cb9257 (diff)
downloadperl-fea10cf637669988fe9f4b11a9a5981982c8450a.tar.gz
Fix compiler warning:
p.c: In function `Perl_newATTRSUB': op.c:5778: warning: cast from pointer to integer of different size
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index dcecdb60c4..6052186002 100644
--- a/op.c
+++ b/op.c
@@ -5775,7 +5775,7 @@ Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
if (strEQ(name, "import")) {
PL_formfeed = MUTABLE_SV(cv);
/* diag_listed_as: SKIPME */
- Perl_warner(aTHX_ packWARN(WARN_VOID), "0x%"UVxf"\n", (UV)cv);
+ Perl_warner(aTHX_ packWARN(WARN_VOID), "0x%"UVxf"\n", PTR2UV(cv));
}
}
GvCVGEN(gv) = 0;