Skip to content

Commit 2b27a58

Browse files
committed
[FOLD]
1 parent 242a5d6 commit 2b27a58

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src_zlib/service/stream_cast.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ struct stream_cast_impl
6767
zs_.next_out = st_.next_out;
6868
zs_.avail_out = st_.avail_out;
6969
zs_.total_out = st_.total_out;
70+
zs_.msg = nullptr;
7071
zs_.state = reinterpret_cast<
7172
internal_state*>(st_.state);
7273
zs_.zalloc = st_.zalloc;
@@ -110,7 +111,7 @@ struct stream_cast_impl
110111
//------------------------------------------------
111112

112113
template<>
113-
struct stream_cast_impl<false>
114+
struct stream_cast_impl<true>
114115
{
115116
explicit
116117
stream_cast_impl(

0 commit comments

Comments
 (0)