mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Minor fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1388 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6d0d1c9c3f
commit
90ba28d339
3 changed files with 60 additions and 59 deletions
|
|
@ -51,7 +51,7 @@ bool UnZip::ReadFile(Stream& out, Gate2<int, int> progress)
|
|||
Buffer<byte> temp(65536);
|
||||
int loaded;
|
||||
int count = csize;
|
||||
Crc32 crc32;
|
||||
Crc32Stream crc32;
|
||||
while(count > 0 && (loaded = zip->Get(temp, (int)min<int64>(count, 65536))) > 0) {
|
||||
out.Put(temp, loaded);
|
||||
crc32.Put(temp, loaded);
|
||||
|
|
|
|||
Loading…
Reference in a new issue