aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorMo DeJong <mdejong@cygnus.com>2000-02-29 17:08:00 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-02-29 17:08:00 +0000
commitfee2681f8a745e4dbe470ed76160f6638c287e93 (patch)
tree1961f44c8549dd1a1feb221d8610c6b1447b5cd4 /libjava/java
parentf8b7a5d26b0e917273143f5ae76247505e896420 (diff)
downloadgcc-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')
-rw-r--r--libjava/java/util/zip/ZipOutputStream.java2
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;