Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 193b78f

Browse files
committedMar 31, 2022
Write dict_id in zlib header in big-endian style.
Signed-off-by: ZhaiMo <zhaimo14@mails.ucas.ac.cn>
1 parent ad8dce1 commit 193b78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎igzip/igzip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ uint32_t isal_write_zlib_header(struct isal_zstream *stream, struct isal_zlib_he
11461146
out_buf[1] = flg;
11471147

11481148
if (dict_flag)
1149-
store_le_u32(out_buf + 2, z_hdr->dict_id);
1149+
store_be_u32(out_buf + 2, z_hdr->dict_id);
11501150

11511151
stream->next_out += hdr_size;
11521152
stream->total_out += hdr_size;

0 commit comments

Comments
 (0)
Please sign in to comment.