aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2000-12-10 03:53:33 +0000
committerAnthony Green <green@gcc.gnu.org>2000-12-10 03:53:33 +0000
commit6e5589e8ad1748e952834b7030d7752e6c91a34d (patch)
tree3696c50d0b81b9123c8de2c56a022c54dc291199 /gcc/java
parent7297e9fc9adf8e42abbc2e64272ea5ddfbd48b24 (diff)
downloadgcc-6e5589e8ad1748e952834b7030d7752e6c91a34d.zip
gcc-6e5589e8ad1748e952834b7030d7752e6c91a34d.tar.gz
gcc-6e5589e8ad1748e952834b7030d7752e6c91a34d.tar.bz2
zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_length as int values.
* zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_length as int values. From-SVN: r38165
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/zipfile.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index edfa939..9eb87be 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-09 Anthony Green <green@redhat.com>
+
+ * zipfile.h (ZipDirectory): Declare size, uncompressed_size,
+ filestart and filename_length as int values.
+
2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
* jvgenmain.c: Use ISPRINT not isascii.
diff --git a/gcc/java/zipfile.h b/gcc/java/zipfile.h
index 172829c..bf76a2a 100644
--- a/gcc/java/zipfile.h
+++ b/gcc/java/zipfile.h
@@ -35,10 +35,10 @@ struct ZipDirectory {
int direntry_size;
int filename_offset;
int compression_method;
- long size; /* length of file */
- long uncompressed_size; /* length of uncompressed data */
- long filestart; /* start of file in archive */
- long filename_length;
+ unsigned size; /* length of file */
+ unsigned uncompressed_size; /* length of uncompressed data */
+ unsigned filestart; /* start of file in archive */
+ int filename_length;
/* char mid_padding[...]; */
/* char filename[filename_length]; */
/* char end_padding[...]; */