host-utils: Prefer 'false' for bool type
PATCH 1/1 host-utils: Prefer 'false' for bool type
Mixing '0' and 'bool' looks stupid.
Signed-off-by Eric Blake <[email protected]>
--- include/qemu/host-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/qemu/host-utils.h +1 -1
@@ -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 ));
Signature · 1 line
2.5.5
Michael Tokarev
AppliedQuoted 1 line · Eric Blake
Mixing '0' and 'bool' looks stupid.
Applied to -trivial, thanks!
/mjt