clang: Fix -Wcomma
authorLzu Tao <taolzu@gmail.com>
Sun, 2 Dec 2018 13:39:47 +0000 (20:39 +0700)
committerLzu Tao <taolzu@gmail.com>
Sun, 2 Dec 2018 13:39:47 +0000 (20:39 +0700)
tests/frametest.c

index 6d2cdd0..b93f4fe 100644 (file)
@@ -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;
 }