Changeset 18426 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 28, 2009 1:50:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/zip.cpp
r16823 r18426 442 442 { 443 443 pZip->u.Zlib.next_in = (Bytef *)pvBuf; 444 pZip->u.Zlib.avail_in = cbBuf;444 pZip->u.Zlib.avail_in = (uInt)cbBuf; Assert(pZip->u.Zlib.avail_in == cbBuf); 445 445 while (pZip->u.Zlib.avail_in > 0) 446 446 { … … 553 553 { 554 554 pZip->u.Zlib.next_out = (Bytef *)pvBuf; 555 pZip->u.Zlib.avail_out = cbBuf;555 pZip->u.Zlib.avail_out = (uInt)cbBuf; Assert(pZip->u.Zlib.avail_out == cbBuf); 556 556 int rc = Z_OK; 557 557 /* Be greedy reading input, even if no output buffer is left. It's possible … … 569 569 if (RT_FAILURE(rc)) 570 570 return rc; 571 pZip->u.Zlib.avail_in = cb;571 pZip->u.Zlib.avail_in = (uInt)cb; Assert(pZip->u.Zlib.avail_in == cb); 572 572 pZip->u.Zlib.next_in = &pZip->abBuffer[0]; 573 573 }
Note:
See TracChangeset
for help on using the changeset viewer.