From b172117a1cd6fd699c20b02a726b9c40b86127cb Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 28 Apr 2012 22:49:40 -0300 Subject: [PATCH] b2/bitset.h: fix logic of bitset_empty --- b2/bitset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2/bitset.h b/b2/bitset.h index 6b7f611..e3c6e56 100644 --- a/b2/bitset.h +++ b/b2/bitset.h @@ -48,7 +48,7 @@ static inline int bitset_get(const struct bitset *b, int n) static inline int bitset_empty(const struct bitset *b) { - return !!b->v; + return !b->v; }