summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-05-22 15:28:39 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-05-22 15:44:15 (GMT)
commitb8211544ef7f9c020fafb278cf7cf96f645a81ec (patch)
tree48e2dadcaf224585df0180ca3ecfea6d39df427a /lib
parent4248a9bfc0a391438f18e62525568358253623c7 (diff)
downloadlz4-b8211544ef7f9c020fafb278cf7cf96f645a81ec.zip
lz4-b8211544ef7f9c020fafb278cf7cf96f645a81ec.tar.gz
lz4-b8211544ef7f9c020fafb278cf7cf96f645a81ec.tar.bz2
Also Fix Appveyor Cast Warning
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index ecd60fb..05454fc 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -714,7 +714,7 @@ LZ4_FORCE_INLINE int LZ4_compress_generic(
cctx->dictSize += (U32)inputSize;
}
cctx->currentOffset += (U32)inputSize;
- cctx->tableType = tableType;
+ cctx->tableType = (U16)tableType;
if (inputSize<LZ4_minLength) goto _last_literals; /* Input too small, no compression (all literals) */