summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2018-12-02 13:39:47 (GMT)
committerLzu Tao <taolzu@gmail.com>2018-12-02 13:39:47 (GMT)
commit49073aca8606131bb73ca1471219d63b27d2602f (patch)
tree6f1e71036c7c53eb23481c8473c6652dae6059b4
parentb9d3080d75589d5efa70654ac16c83035a756d71 (diff)
downloadlz4-49073aca8606131bb73ca1471219d63b27d2602f.zip
lz4-49073aca8606131bb73ca1471219d63b27d2602f.tar.gz
lz4-49073aca8606131bb73ca1471219d63b27d2602f.tar.bz2
clang: Fix -Wcomma
-rw-r--r--tests/frametest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frametest.c b/tests/frametest.c
index 6d2cdd0..b93f4fe 100644
--- a/tests/frametest.c
+++ b/tests/frametest.c
@@ -160,7 +160,7 @@ static unsigned FUZ_highbit(U32 v32)
{
unsigned nbBits = 0;
if (v32==0) return 0;
- while (v32) v32 >>= 1, nbBits ++;
+ while (v32) {v32 >>= 1; nbBits ++;}
return nbBits;
}