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 May 22, 2024
1 parent 7ed569a commit 57c61b6
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(uint16_t decode_table[], unsigned num_syms,
uint16_t * const offsets = &working_space[1 * (max_codeword_len + 1)];
uint16_t * const sorted_syms = &working_space[2 * (max_codeword_len + 1)];
int32_t 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 57c61b6

Please sign in to comment.