ZipOutputStream.java (closeEntry): Fixed error caused by the incorrect casting of a long to an int.
2000-02-28 Mo DeJong <mdejong@cygnus.com> * java/util/zip/ZipOutputStream.java(closeEntry) : Fixed error caused by the incorrect casting of a long to an int. From-SVN: r32257
This commit is contained in:
parent
f8b7a5d26b
commit
fee2681f8a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-02-28 Mo DeJong <mdejong@cygnus.com>
|
||||
|
||||
* java/util/zip/ZipOutputStream.java(closeEntry) : Fixed
|
||||
error caused by the incorrect casting of a long to an int.
|
||||
|
||||
2000-02-28 Mo DeJong <mdejong@cygnus.com>
|
||||
|
||||
* java/util/zip/ZipOutputStream.java(write_entry) : Fixed
|
||||
|
|
|
@ -30,7 +30,7 @@ public class ZipOutputStream extends DeflaterOutputStream
|
|||
{
|
||||
int uncompressed_size = def.getTotalIn();
|
||||
int compressed_size = def.getTotalOut();
|
||||
int crc = (int) (filter.getChecksum().getValue());
|
||||
long crc = filter.getChecksum().getValue();
|
||||
|
||||
bytes_written += compressed_size;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue