mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -04: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)
|
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,
|
RETURN_ERROR_IF(cctx->streamStage != zcss_init, stage_wrong,
|
||||||
"Can't set pledgedSrcSize when not in init stage.");
|
"Can't set pledgedSrcSize when not in init stage.");
|
||||||
cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1;
|
cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user