mirror of
https://github.com/intel/isa-l.git
synced 2025-11-07 14:37:28 +01:00
fixing huff_codes.c's compiling problem on CentOS 6.5 as gcc 4.4.7 only support C89
Signed-off-by: Peng Xiao <xiao.peng61@zte.com.cn>
This commit is contained in:
1088
igzip/huff_codes.c
1088
igzip/huff_codes.c
File diff suppressed because it is too large
Load Diff
@@ -95,15 +95,16 @@
|
||||
*/
|
||||
struct huff_code {
|
||||
union {
|
||||
struct {
|
||||
uint32_t code_and_extra:24;
|
||||
uint32_t length2:8;
|
||||
};
|
||||
|
||||
struct {
|
||||
uint16_t code;
|
||||
uint8_t extra_bit_count;
|
||||
uint8_t length;
|
||||
};
|
||||
struct {
|
||||
uint32_t code_and_extra:24;
|
||||
uint32_t length2:8;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user