pkzip: for u32 use MAX_DATA / 4

This commit is contained in:
philsmd
2019-06-07 19:42:28 +02:00
parent 01a511b9dd
commit a661728256
20 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -132,7 +132,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -132,7 +132,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -132,7 +132,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -132,7 +132,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -130,7 +130,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -125,7 +125,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -125,7 +125,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -125,7 +125,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -125,7 +125,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));
+1 -1
View File
@@ -125,7 +125,7 @@ struct pkzip_hash
u32 data_length;
u16 checksum_from_crc;
u16 checksum_from_timestamp;
u32 data[MAX_DATA];
u32 data[MAX_DATA / 4]; // a quarter because of the u32 type
} __attribute__((packed));