summaryrefslogtreecommitdiff
path: root/archivers/zoo/files/patch-zoopack.c
blob: a3b569a2e16037238f9d4729b1ef44002b2ac91a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- zoopack.c.orig	1993-05-01 03:59:21 UTC
+++ zoopack.c
@@ -139,7 +139,11 @@ if (zoo_file == NOFILE)
 /* Read the header of the old archive. */
 frd_zooh(&old_zoo_header, zoo_file);
 
+#ifdef __LP64__
+if ((int)(old_zoo_header.zoo_start + old_zoo_header.zoo_minus) != 0) {
+#else
 if ((old_zoo_header.zoo_start + old_zoo_header.zoo_minus) != 0L) {
+#endif
    prterror ('w', failed_consistency);
    ++bad_header;                    /* remember for future error message */
 }