mirror of
https://github.com/GerbilSoft/minizip-ng.git
synced 2025-06-18 19:45:36 -04:00
align bzip and lzma streams for 64-bit platforms
affected structs: - mz_stream_lzma_s 32984 to 32976 bytes - mz_stream_bzip_s 32912 to 32904 bytes
This commit is contained in:
parent
d265da043d
commit
799086de42
@ -29,13 +29,13 @@ typedef struct mz_stream_bzip_s {
|
|||||||
int32_t mode;
|
int32_t mode;
|
||||||
int32_t error;
|
int32_t error;
|
||||||
uint8_t buffer[INT16_MAX];
|
uint8_t buffer[INT16_MAX];
|
||||||
|
int8_t initialized;
|
||||||
int32_t buffer_len;
|
int32_t buffer_len;
|
||||||
int16_t stream_end;
|
int16_t stream_end;
|
||||||
|
int16_t level;
|
||||||
int64_t total_in;
|
int64_t total_in;
|
||||||
int64_t total_out;
|
int64_t total_out;
|
||||||
int64_t max_total_in;
|
int64_t max_total_in;
|
||||||
int8_t initialized;
|
|
||||||
int16_t level;
|
|
||||||
} mz_stream_bzip;
|
} mz_stream_bzip;
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
@ -35,16 +35,16 @@ typedef struct mz_stream_lzma_s {
|
|||||||
int32_t mode;
|
int32_t mode;
|
||||||
int32_t error;
|
int32_t error;
|
||||||
uint8_t buffer[INT16_MAX];
|
uint8_t buffer[INT16_MAX];
|
||||||
|
int8_t header;
|
||||||
int32_t buffer_len;
|
int32_t buffer_len;
|
||||||
|
int8_t initialized;
|
||||||
|
int16_t method;
|
||||||
int64_t total_in;
|
int64_t total_in;
|
||||||
int64_t total_out;
|
int64_t total_out;
|
||||||
int64_t max_total_in;
|
int64_t max_total_in;
|
||||||
int64_t max_total_out;
|
int64_t max_total_out;
|
||||||
int8_t initialized;
|
|
||||||
int8_t header;
|
|
||||||
int32_t header_size;
|
int32_t header_size;
|
||||||
uint32_t preset;
|
uint32_t preset;
|
||||||
int16_t method;
|
|
||||||
} mz_stream_lzma;
|
} mz_stream_lzma;
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user