mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Use correct size value.
This commit is contained in:
parent
7f0191d19f
commit
f03b677ffa
@ -107,7 +107,7 @@ int main( int argc, char** argv )
|
|||||||
{
|
{
|
||||||
const auto bsz = buf.size();
|
const auto bsz = buf.size();
|
||||||
buf.resize( bsz + zout.pos );
|
buf.resize( bsz + zout.pos );
|
||||||
memcpy( buf.data() + bsz, tmp, zout.size );
|
memcpy( buf.data() + bsz, tmp, zout.pos );
|
||||||
zout.pos = 0;
|
zout.pos = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user