fixed Visual warning on minor interface discrepancy

This commit is contained in:
Yann Collet 2017-11-29 17:01:14 -08:00
parent d3c59edac9
commit 78290874a5

View File

@ -470,7 +470,7 @@ size_t ZSTD_CCtxParam_setParameter(
* pledgedSrcSize is considered unknown
*/
size_t ZSTD_CCtx_setParametersUsingCCtxParams(
ZSTD_CCtx* const cctx, const ZSTD_CCtx_params* const params)
ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params)
{
if (cctx->streamStage != zcss_init) return ERROR(stage_wrong);
if (cctx->cdict) return ERROR(stage_wrong);