From 4f12661db5afd43f32ff0bb2d30a0eb3234f2fa3 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 25 Aug 2011 09:25:21 -0700 Subject: [PATCH] Dumper.xs: Suppress compiler warning --- dist/Data-Dumper/Dumper.pm | 4 ++-- dist/Data-Dumper/Dumper.xs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/Data-Dumper/Dumper.pm b/dist/Data-Dumper/Dumper.pm index 748dd54..9335d03 100644 --- a/dist/Data-Dumper/Dumper.pm +++ b/dist/Data-Dumper/Dumper.pm @@ -9,7 +9,7 @@ package Data::Dumper; -$VERSION = '2.132'; # Don't forget to set version and release date in POD! +$VERSION = '2.133'; # Don't forget to set version and release date in POD! #$| = 1; @@ -1297,7 +1297,7 @@ modify it under the same terms as Perl itself. =head1 VERSION -Version 2.132 (August 20 2011) +Version 2.133 (July 20 2011) =head1 SEE ALSO diff --git a/dist/Data-Dumper/Dumper.xs b/dist/Data-Dumper/Dumper.xs index 2c249db..cf0717e 100644 --- a/dist/Data-Dumper/Dumper.xs +++ b/dist/Data-Dumper/Dumper.xs @@ -814,7 +814,7 @@ DD_dump(pTHX_ SV *val, const char *name, STRLEN namelen, SV *retval, HV *seenhv, warn("Encountered CODE ref, using dummy placeholder"); } else { - warn("cannot handle ref type %ld", realtype); + warn("cannot handle ref type %d", (int)realtype); } if (realpack && !no_bless) { /* free blessed allocs */ -- 2.7.4