Skip to content

Commit

Permalink
[FOLD] update test
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniefalco committed Oct 20, 2016
1 parent 0d79ea7 commit 9421e3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/beast/detail/zlib/basic_inflate_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ class basic_inflate_stream : public z_params
}

void
inflate_fast(z_stream& zs, unsigned start);
inflate_fast(z_params& zs, unsigned start);

int
write(z_stream& zs, int flush);
write(z_params& zs, int flush);

void
resetKeep(z_params& zs);
Expand Down
8 changes: 4 additions & 4 deletions include/beast/detail/zlib/impl/basic_inflate_stream.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ resetKeep(z_params& zs)
next_ = codes_;
sane_ = 1;
back_ = -1;

bi_.flush();
}

Expand Down Expand Up @@ -245,7 +245,7 @@ updatewindow(const Byte *end, unsigned copy)
template<class Allocator>
int
basic_inflate_stream<Allocator>::
write(z_stream& zs, int flush)
write(z_params& zs, int flush)
{
auto put = zs.next_out;
auto next = zs.next_in;
Expand Down Expand Up @@ -780,7 +780,7 @@ template<class Allocator>
void
basic_inflate_stream<Allocator>::
inflate_fast(
z_stream& zs,
z_params& zs,
unsigned start) // inflate()'s starting value for strm->avail_out
{
const unsigned char *in; // local strm->next_in
Expand Down Expand Up @@ -974,7 +974,7 @@ inflate_fast(
else
{
// copy direct from output
auto from = out - dist;
auto from = out - dist;
do
{
// minimum length is three
Expand Down

0 comments on commit 9421e3d

Please sign in to comment.