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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user