fix gcc-10 strict aliasing warnings

by exposing HUF_CElt declaration.
This commit is contained in:
Yann Collet
2020-12-04 16:43:19 -08:00
parent 68c14bdff2
commit 6132df8dd3
3 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ typedef struct {
} ZSTD_localDict;
typedef struct {
U32 CTable[HUF_CTABLE_SIZE_U32(255)];
HUF_CElt CTable[HUF_CTABLE_SIZE_U32(255)];
HUF_repeat repeatMode;
} ZSTD_hufCTables_t;