getLongLE would return a 64-bit number with the upper 32-bits set when decoding a 32-bit number with the top bit set. Per the zip file format, it was only expected to return a 32-bit number. Use explicitly sized types so that we use the proper sizes and don't do any implicit extensions. Change-Id: I5a4304dc99ce5f8f17284d4ca3094ae115207a1e
ziptime -- zip timestamp tool usage: ziptime file.zip file.zip is an existing Zip archive to rewrite This tools replaces the timestamps in the zip headers with a static time (Jan 1 2008). The extra fields are not changed, so you'll need to use the -X option to zip so that it doesn't create the 'universal time' extra.