summaryrefslogtreecommitdiff
path: root/lib/ccan/tally
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-10 19:46:52 +0200
committerVolker Lendecke <vl@samba.org>2011-08-10 19:56:11 +0200
commit73414d0ee7bbe371b0f9b275b44ce5854a10b9f2 (patch)
tree815fcc1a610e463f6d52a5ce1c0aa9a8e94b2fa0 /lib/ccan/tally
parent3f67063dfab1a7add95da5157206ccebb2f75df8 (diff)
downloadsamba-73414d0ee7bbe371b0f9b275b44ce5854a10b9f2.tar.gz
samba-73414d0ee7bbe371b0f9b275b44ce5854a10b9f2.tar.bz2
samba-73414d0ee7bbe371b0f9b275b44ce5854a10b9f2.zip
Adapt fls64 to Samba coding conventions
Diffstat (limited to 'lib/ccan/tally')
-rw-r--r--lib/ccan/tally/tally.c3
1 files changed, 2 insertions, 1 deletions
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;