diff options
Diffstat (limited to 'cpan/Compress-Raw-Zlib')
-rw-r--r-- | cpan/Compress-Raw-Zlib/Changes | 5 | ||||
-rw-r--r-- | cpan/Compress-Raw-Zlib/Zlib.xs | 6 | ||||
-rw-r--r-- | cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/cpan/Compress-Raw-Zlib/Changes b/cpan/Compress-Raw-Zlib/Changes index a2501d842c..75bd7b7b83 100644 --- a/cpan/Compress-Raw-Zlib/Changes +++ b/cpan/Compress-Raw-Zlib/Changes @@ -1,6 +1,11 @@ CHANGES ------- + 2.056 10 August 2012 + + * Fix C++ build issue + Thanks to Karl Williamson for supplying the patch. + 2.055 4 August 2012 * Fix misuse of magic in API diff --git a/cpan/Compress-Raw-Zlib/Zlib.xs b/cpan/Compress-Raw-Zlib/Zlib.xs index 5b0378df4b..9f1d7a1ccf 100644 --- a/cpan/Compress-Raw-Zlib/Zlib.xs +++ b/cpan/Compress-Raw-Zlib/Zlib.xs @@ -997,7 +997,7 @@ deflate (s, buf, output) if (s->stream.avail_out == 0) { /* out of space in the output buffer so make it bigger */ - s->stream.next_out = Sv_Grow(output, SvLEN(output) + bufinc) ; + s->stream.next_out = (Bytef*) Sv_Grow(output, SvLEN(output) + bufinc) ; cur_length += increment ; s->stream.next_out += cur_length ; increment = bufinc ; @@ -1098,7 +1098,7 @@ flush(s, output, f=Z_FINISH) for (;;) { if (s->stream.avail_out == 0) { /* consumed all the available output, so extend it */ - s->stream.next_out = Sv_Grow(output, SvLEN(output) + bufinc) ; + s->stream.next_out = (Bytef*) Sv_Grow(output, SvLEN(output) + bufinc) ; cur_length += increment ; s->stream.next_out += cur_length ; increment = bufinc ; @@ -1388,7 +1388,7 @@ inflate (s, buf, output, eof=FALSE) while (RETVAL == Z_OK) { if (s->stream.avail_out == 0) { /* out of space in the output buffer so make it bigger */ - s->stream.next_out = Sv_Grow(output, SvLEN(output) + bufinc +1) ; + s->stream.next_out = (Bytef*) Sv_Grow(output, SvLEN(output) + bufinc +1) ; cur_length += increment ; s->stream.next_out += cur_length ; increment = bufinc ; diff --git a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm index 1ed22c5143..08990f509e 100644 --- a/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm +++ b/cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm @@ -11,7 +11,7 @@ use warnings ; use bytes ; our ($VERSION, $XS_VERSION, @ISA, @EXPORT, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD, %DEFLATE_CONSTANTS, @DEFLATE_CONSTANTS ); -$VERSION = '2.055'; +$VERSION = '2.056'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; |