mirror of
https://github.com/facebook/zstd.git
synced 2025-01-10 17:43:38 +08:00
minor: proper pledgedSrcSize trace
This commit is contained in:
parent
2a356737d8
commit
ecd7601c36
@ -1097,7 +1097,7 @@ size_t ZSTD_CCtx_setParametersUsingCCtxParams(
|
||||
|
||||
size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize)
|
||||
{
|
||||
DEBUGLOG(4, "ZSTD_CCtx_setPledgedSrcSize to %u bytes", (U32)pledgedSrcSize);
|
||||
DEBUGLOG(4, "ZSTD_CCtx_setPledgedSrcSize to %llu bytes", pledgedSrcSize);
|
||||
RETURN_ERROR_IF(cctx->streamStage != zcss_init, stage_wrong,
|
||||
"Can't set pledgedSrcSize when not in init stage.");
|
||||
cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1;
|
||||
|
Loading…
Reference in New Issue
Block a user