diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index dd12b171..bc2d8a57 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -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);