17 lines
604 B
Diff
17 lines
604 B
Diff
From: "Steven M. Schweda" <sms@antinode.info>
|
|
Subject: Fix lame code in fileio.c
|
|
Bug-Debian: https://bugs.debian.org/929502
|
|
X-Debian-version: 6.0-23
|
|
Upstream: https://sources.debian.org/src/unzip/6.0-29/debian/patches/21-fix-warning-messages-on-big-files.patch
|
|
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
|
|
--- a/fileio.c
|
|
+++ b/fileio.c
|
|
@@ -2477,6 +2477,7 @@
|
|
*/
|
|
return (((zusz_t)sig[7]) << 56)
|
|
+ (((zusz_t)sig[6]) << 48)
|
|
+ + (((zusz_t)sig[5]) << 40)
|
|
+ (((zusz_t)sig[4]) << 32)
|
|
+ (zusz_t)((((ulg)sig[3]) << 24)
|
|
+ (((ulg)sig[2]) << 16)
|