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:
Herman Semenov 2025-05-20 18:09:37 +03:00 committed by Nathan Moinvaziri
parent d265da043d
commit 799086de42
2 changed files with 5 additions and 5 deletions

View File

@ -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;
/***************************************************************************/

View File

@ -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;
/***************************************************************************/