- only use standard types in WriteZip's API.

This commit is contained in:
Christoph Oelckers 2023-08-19 15:30:40 +02:00
commit 2671394961
5 changed files with 22 additions and 19 deletions

View file

@ -747,6 +747,7 @@ FCompressedBuffer FSerializer::GetCompressedOutput()
FCompressedBuffer buff;
WriteObjects();
EndObject();
buff.filename = nullptr;
buff.mSize = (unsigned)w->mOutString.GetSize();
buff.mZipFlags = 0;
buff.mCRC32 = crc32(0, (const Bytef*)w->mOutString.GetString(), buff.mSize);