Use int for srcSizeHint when sensible

This commit is contained in:
Nick Magerko
2019-08-19 16:49:25 -07:00
parent f9af70ca8a
commit 2d39b43906
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ struct ZSTD_CCtx_params_s {
size_t targetCBlockSize; /* Tries to fit compressed block size to be around targetCBlockSize.
* No target when targetCBlockSize == 0.
* There is no guarantee on compressed block size */
size_t srcSizeHint; /* User's best guess of source size.
int srcSizeHint; /* User's best guess of source size.
* Hint is not valid when srcSizeHint == 0.
* There is no guarantee that hint is close to actual source size */