Use correct size value.

This commit is contained in:
Bartosz Taudul 2021-05-06 22:26:40 +02:00
parent 7f0191d19f
commit f03b677ffa
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -107,7 +107,7 @@ int main( int argc, char** argv )
{
const auto bsz = buf.size();
buf.resize( bsz + zout.pos );
memcpy( buf.data() + bsz, tmp, zout.size );
memcpy( buf.data() + bsz, tmp, zout.pos );
zout.pos = 0;
}
}