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-05-31 12:33:31 -06:00 committed by Michael Tokarev
parent aa5982e0fd
commit e52eeb468d
1 changed files with 1 additions and 1 deletions

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));