From: Volker Lendecke Date: Wed, 10 Aug 2011 17:46:52 +0000 (+0200) Subject: tally: Adapt fls64 to Samba coding conventions X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=bf7539ac82df33522461561b4940600ae41c6e55;hp=cee0f8b2e90d19e60a040df3c611516719be7225 tally: Adapt fls64 to Samba coding conventions (Imported from SAMBA commit 73414d0ee7bbe371b0f9b275b44ce5854a10b9f2) --- diff --git a/ccan/tally/tally.c b/ccan/tally/tally.c index 52bd4e11..4e8876cc 100644 --- a/ccan/tally/tally.c +++ b/ccan/tally/tally.c @@ -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;