mirror of
https://github.com/facebook/zstd.git
synced 2025-12-04 00:04:23 -05:00
Fix Types
This commit is contained in:
parent
4127de5fa6
commit
2d9332eb21
@ -413,8 +413,9 @@ size_t ZSTD_CCtxParam_setParameter(
|
|||||||
return CCtxParams->forceWindow;
|
return CCtxParams->forceWindow;
|
||||||
|
|
||||||
case ZSTD_p_forceAttachDict : {
|
case ZSTD_p_forceAttachDict : {
|
||||||
CLAMPCHECK(value, ZSTD_dictDefaultAttach, ZSTD_dictForceCopy);
|
ZSTD_dictAttachPref_e pref = (ZSTD_dictAttachPref_e)value;
|
||||||
CCtxParams->attachDictPref = value;
|
CLAMPCHECK(pref, ZSTD_dictDefaultAttach, ZSTD_dictForceCopy);
|
||||||
|
CCtxParams->attachDictPref = pref;
|
||||||
return CCtxParams->attachDictPref;
|
return CCtxParams->attachDictPref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user