diff options
author | Mo DeJong <mdejong@cygnus.com> | 2000-02-29 17:08:00 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-02-29 17:08:00 +0000 |
commit | fee2681f8a745e4dbe470ed76160f6638c287e93 (patch) | |
tree | 1961f44c8549dd1a1feb221d8610c6b1447b5cd4 /libjava/java/util/zip | |
parent | f8b7a5d26b0e917273143f5ae76247505e896420 (diff) | |
download | gcc-fee2681f8a745e4dbe470ed76160f6638c287e93.zip gcc-fee2681f8a745e4dbe470ed76160f6638c287e93.tar.gz gcc-fee2681f8a745e4dbe470ed76160f6638c287e93.tar.bz2 |
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
Diffstat (limited to 'libjava/java/util/zip')
-rw-r--r-- | libjava/java/util/zip/ZipOutputStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/util/zip/ZipOutputStream.java b/libjava/java/util/zip/ZipOutputStream.java index 7c265ac..a8a3b19 100644 --- a/libjava/java/util/zip/ZipOutputStream.java +++ b/libjava/java/util/zip/ZipOutputStream.java @@ -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; |