mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
Const
This commit is contained in:
parent
2242330b26
commit
5faef4d378
@ -413,7 +413,7 @@ size_t ZSTD_CCtxParam_setParameter(
|
||||
return CCtxParams->forceWindow;
|
||||
|
||||
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);
|
||||
CCtxParams->attachDictPref = pref;
|
||||
return CCtxParams->attachDictPref;
|
||||
|
Loading…
x
Reference in New Issue
Block a user