Skip to content

Commit

Permalink
make_huffman_decode_table: fix for GCC 14
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Jan 15, 2024
1 parent 1e0115b commit 48bca6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ebiggers/decompress_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ make_huffman_decode_table(u16 decode_table[], unsigned num_syms,
u16 * const offsets = &working_space[1 * (max_codeword_len + 1)];
u16 * const sorted_syms = &working_space[2 * (max_codeword_len + 1)];
s32 remainder = 1;
uint8_t *entry_ptr = decode_table;
uint8_t *entry_ptr = (uint8_t *)decode_table;
unsigned codeword_len = 1;
unsigned sym_idx;
unsigned codeword;
Expand Down

0 comments on commit 48bca6e

Please sign in to comment.