diff options
Diffstat (limited to '7zip/Archive/7z/7zOut.cpp')
-rwxr-xr-x | 7zip/Archive/7z/7zOut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/7zip/Archive/7z/7zOut.cpp b/7zip/Archive/7z/7zOut.cpp index 116cb0cc..b1ad2677 100755 --- a/7zip/Archive/7z/7zOut.cpp +++ b/7zip/Archive/7z/7zOut.cpp @@ -576,8 +576,8 @@ HRESULT COutArchive::EncodeStream(CEncoder &encoder, const Byte *data, size_t da CFolder folderItem; folderItem.UnPackCRCDefined = true; folderItem.UnPackCRC = CCRC::CalculateDigest(data, dataSize); - RINOK(encoder.Encode(stream, NULL, folderItem, SeqStream, - packSizes, NULL)); + UInt64 dataSize64 = dataSize; + RINOK(encoder.Encode(stream, NULL, &dataSize64, folderItem, SeqStream, packSizes, NULL)); folders.Add(folderItem); return S_OK; } |