diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2021-05-30 08:28:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 08:28:36 (GMT) |
commit | e8a8fd6f0b8434c8e5c1ef5d87e9edcabb31f90d (patch) | |
tree | f19a63a524e17eadf792144487466a3689a89220 /examples | |
parent | 634fa2047d217f1c62222071a8313bc5e17d4509 (diff) | |
parent | 28cb94f53a4293ffd278f9d9cc72b164055ee623 (diff) | |
download | lz4-e8a8fd6f0b8434c8e5c1ef5d87e9edcabb31f90d.zip lz4-e8a8fd6f0b8434c8e5c1ef5d87e9edcabb31f90d.tar.gz lz4-e8a8fd6f0b8434c8e5c1ef5d87e9edcabb31f90d.tar.bz2 |
Merge pull request #992 from t-mat/fix-clang-warning-1
Fix -Wshorten-64-to-32 warning
Diffstat (limited to 'examples')
-rw-r--r-- | examples/blockStreaming_lineByLine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blockStreaming_lineByLine.c b/examples/blockStreaming_lineByLine.c index 19c3345..3047a3a 100644 --- a/examples/blockStreaming_lineByLine.c +++ b/examples/blockStreaming_lineByLine.c @@ -65,7 +65,7 @@ static void test_compress( { const int cmpBytes = LZ4_compress_fast_continue( - lz4Stream, inpPtr, cmpBuf, inpBytes, cmpBufBytes, 1); + lz4Stream, inpPtr, cmpBuf, inpBytes, (int) cmpBufBytes, 1); if (cmpBytes <= 0) break; write_uint16(outFp, (uint16_t) cmpBytes); write_bin(outFp, cmpBuf, cmpBytes); |