mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -04:00
Const
This commit is contained in:
parent
2242330b26
commit
5faef4d378
@ -413,7 +413,7 @@ size_t ZSTD_CCtxParam_setParameter(
|
|||||||
return CCtxParams->forceWindow;
|
return CCtxParams->forceWindow;
|
||||||
|
|
||||||
case ZSTD_p_forceAttachDict : {
|
case ZSTD_p_forceAttachDict : {
|
||||||
ZSTD_dictAttachPref_e pref = (ZSTD_dictAttachPref_e)value;
|
const ZSTD_dictAttachPref_e pref = (ZSTD_dictAttachPref_e)value;
|
||||||
CLAMPCHECK(pref, ZSTD_dictDefaultAttach, ZSTD_dictForceCopy);
|
CLAMPCHECK(pref, ZSTD_dictDefaultAttach, ZSTD_dictForceCopy);
|
||||||
CCtxParams->attachDictPref = pref;
|
CCtxParams->attachDictPref = pref;
|
||||||
return CCtxParams->attachDictPref;
|
return CCtxParams->attachDictPref;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user