diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-07-01 11:46:56 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-07-01 11:46:56 -0700 |
commit | bdb53ef1b17916cd039cc830280a1b453a7090d8 (patch) | |
tree | eef671feda08ed2dd58cf4dc0aa5ef58c5fd9fe5 /zip.c | |
parent | 868c7688303f7167635961a5a8af747885a3fdff (diff) | |
download | gzip-bdb53ef1b17916cd039cc830280a1b453a7090d8.tar.gz |
Don't assume that sizeof (long) == 4 when computing statistics.
* gzip.c (get_method): Don't assume sizeof (long) == 4.
* zip.c (zip): Likewise.
Diffstat (limited to 'zip.c')
-rw-r--r-- | zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ int zip(in, out) /* Write the crc and uncompressed size */ put_long(crc); put_long((ulg)bytes_in); - header_bytes += 2*sizeof(long); + header_bytes += 2*4; flush_outbuf(); return OK; |