mirror of
https://github.com/facebook/zstd.git
synced 2025-10-10 00:03:36 -04:00
const value
This commit is contained in:
parent
0034129270
commit
1e0d125e76
@ -314,7 +314,7 @@ static void writeFrameHeader(U32* seed, frame_t* frame, dictInfo info)
|
|||||||
pos += 4;
|
pos += 4;
|
||||||
|
|
||||||
{
|
{
|
||||||
int dictBits = info.useDict ? 3 : 0;
|
int const dictBits = info.useDict ? 3 : 0;
|
||||||
BYTE const frameHeaderDescriptor =
|
BYTE const frameHeaderDescriptor =
|
||||||
(BYTE) ((fcsCode << 6) | (singleSegment << 5) | (1 << 2) | dictBits);
|
(BYTE) ((fcsCode << 6) | (singleSegment << 5) | (1 << 2) | dictBits);
|
||||||
op[pos++] = frameHeaderDescriptor;
|
op[pos++] = frameHeaderDescriptor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user