b2/bitset.h: fix logic of bitset_empty

This commit is contained in:
Werner Almesberger
2012-04-28 22:49:40 -03:00
parent eabe0dc910
commit b172117a1c
+1 -1
View File
@@ -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;
}