tally: Adapt fls64 to Samba coding conventions
[ccan] / ccan / tally / tally.c
index 52bd4e11b903b661360390bd1c96dc34a875ed2b..4e8876cc4aa5e2874fa83c1b341783e9811d0927 100644 (file)
@@ -183,8 +183,9 @@ static unsigned fls64(uint64_t val)
 #endif
        uint64_t r = 64;
 
-       if (!val)
+       if (!val) {
                return 0;
+       }
        if (!(val & 0xffffffff00000000ull)) {
                val <<= 32;
                r -= 32;