diff options
author | Yann Collet <cyan@fb.com> | 2017-09-10 21:32:38 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-09-10 21:32:38 (GMT) |
commit | a30cba08f489c07e0d6085248287cd5dcc901b30 (patch) | |
tree | 35b768df854d5764d6232de84ad2fe5266f137ca /lib/lz4.c | |
parent | a2b4f732f4ab941dbd3108fb3c36c3afc54c47ee (diff) | |
download | lz4-a30cba08f489c07e0d6085248287cd5dcc901b30.zip lz4-a30cba08f489c07e0d6085248287cd5dcc901b30.tar.gz lz4-a30cba08f489c07e0d6085248287cd5dcc901b30.tar.bz2 |
fixed a bunch of -Wcomma warnings
reported by @rvandermeulen (#398)
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -616,7 +616,11 @@ _next_match: *token += ML_MASK; matchCode -= ML_MASK; LZ4_write32(op, 0xFFFFFFFF); - while (matchCode >= 4*255) op+=4, LZ4_write32(op, 0xFFFFFFFF), matchCode -= 4*255; + while (matchCode >= 4*255) { + op+=4; + LZ4_write32(op, 0xFFFFFFFF); + matchCode -= 4*255; + } op += matchCode / 255; *op++ = (BYTE)(matchCode % 255); } else |