Dumper.xs: Suppress compiler warning
authorFather Chrysostomos <sprout@cpan.org>
Thu, 25 Aug 2011 16:25:21 +0000 (09:25 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 25 Aug 2011 16:25:21 +0000 (09:25 -0700)
dist/Data-Dumper/Dumper.pm
dist/Data-Dumper/Dumper.xs

index 748dd54..9335d03 100644 (file)
@@ -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
 
index 2c249db..cf0717e 100644 (file)
@@ -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 */