mirror of
https://github.com/zlib-ng/minizip-ng
synced 2026-08-25 14:26:08 -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
2 changed files with 5 additions and 5 deletions
|
|
@ -29,13 +29,13 @@ typedef struct mz_stream_bzip_s {
|
|||
int32_t mode;
|
||||
int32_t error;
|
||||
uint8_t buffer[INT16_MAX];
|
||||
int8_t initialized;
|
||||
int32_t buffer_len;
|
||||
int16_t stream_end;
|
||||
int16_t level;
|
||||
int64_t total_in;
|
||||
int64_t total_out;
|
||||
int64_t max_total_in;
|
||||
int8_t initialized;
|
||||
int16_t level;
|
||||
} mz_stream_bzip;
|
||||
|
||||
/***************************************************************************/
|
||||
|
|
|
|||
|
|
@ -35,16 +35,16 @@ typedef struct mz_stream_lzma_s {
|
|||
int32_t mode;
|
||||
int32_t error;
|
||||
uint8_t buffer[INT16_MAX];
|
||||
int8_t header;
|
||||
int32_t buffer_len;
|
||||
int8_t initialized;
|
||||
int16_t method;
|
||||
int64_t total_in;
|
||||
int64_t total_out;
|
||||
int64_t max_total_in;
|
||||
int64_t max_total_out;
|
||||
int8_t initialized;
|
||||
int8_t header;
|
||||
int32_t header_size;
|
||||
uint32_t preset;
|
||||
int16_t method;
|
||||
} mz_stream_lzma;
|
||||
|
||||
/***************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue