summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-03 17:39:35 (GMT)
committerYann Collet <cyan@fb.com>2016-11-03 17:39:35 (GMT)
commit46b49af37c62225c02098a3150d63a63fb0554ae (patch)
tree05192970979805879c1af4519c79c357eab92fa1
parentc66108ceb2b51f452511ecb38ad157e7d3d73269 (diff)
downloadlz4-46b49af37c62225c02098a3150d63a63fb0554ae.zip
lz4-46b49af37c62225c02098a3150d63a63fb0554ae.tar.gz
lz4-46b49af37c62225c02098a3150d63a63fb0554ae.tar.bz2
fixed clang conversion warning
-rw-r--r--programs/lz4io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index ec45905..98002a4 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -368,7 +368,7 @@ int LZ4IO_compressFilename_Legacy(const char* input_filename, const char* output
filesize += inSize;
/* Compress Block */
- outSize = compressionFunction(in_buff, out_buff+4, inSize, outBuffSize, compressionlevel);
+ outSize = compressionFunction(in_buff, out_buff+4, (int)inSize, outBuffSize, compressionlevel);
compressedfilesize += outSize+4;
DISPLAYUPDATE(2, "\rRead : %i MB ==> %.2f%% ", (int)(filesize>>20), (double)compressedfilesize/filesize*100);