From 73414d0ee7bbe371b0f9b275b44ce5854a10b9f2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 10 Aug 2011 19:46:52 +0200 Subject: Adapt fls64 to Samba coding conventions --- lib/ccan/tally/tally.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ccan/tally') diff --git a/lib/ccan/tally/tally.c b/lib/ccan/tally/tally.c index 52bd4e11b9..4e8876cc4a 100644 --- a/lib/ccan/tally/tally.c +++ b/lib/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; -- cgit