host-utils: Prefer 'false' for bool type

Mixing '0' and 'bool' looks stupid.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Eric Blake
2016-06-07 18:19:24 +03:00
committed by Michael Tokarev
parent aa5982e0fd
commit e52eeb468d
+1 -1
View File
@@ -486,7 +486,7 @@ static inline uint64_t revbit64(uint64_t x)
static inline bool is_power_of_2(uint64_t value)
{
if (!value) {
return 0;
return false;
}
return !(value & (value - 1));