This commit is contained in:
W. Felix Handte committed 2018-11-12 14:48:42 -08:00
1 parent 2242330b26
commit 5faef4d378
1 file changed
+1 -1
+1 -1
View File
@@ -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;