minor : fixed warning under clang

This commit is contained in:
Yann Collet 2014-11-29 17:12:26 +01:00
parent dc43a1f6b5
commit 33dca250ee

View File

@ -140,8 +140,8 @@ Compiler Options
/************************************** /**************************************
Includes Includes
**************************************/ **************************************/
#include "lz4hc.h"
#include "lz4.h" #include "lz4.h"
#include "lz4hc.h"
/************************************** /**************************************
@ -248,9 +248,12 @@ Architecture-specific macros
**************************************/ **************************************/
typedef struct typedef struct
{ {
union {
U64 alignedOn8Bytes; /* force 8-bytes alignment on 32-bits systems */
U32 hashTable[HASHTABLESIZE]; U32 hashTable[HASHTABLESIZE];
};
U16 chainTable[MAXD]; U16 chainTable[MAXD];
const BYTE* end; /* next block here to keep current prefix as prefix */ const BYTE* end; /* next block here to continue on current prefix */
const BYTE* base; /* All index relative to this position */ const BYTE* base; /* All index relative to this position */
const BYTE* dictBase; /* alternate base for extDict */ const BYTE* dictBase; /* alternate base for extDict */
U32 dictLimit; /* below that point, need extDict */ U32 dictLimit; /* below that point, need extDict */