mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 00:17:11 +02:00
b2/bitset.h: fix logic of bitset_empty
This commit is contained in:
parent
eabe0dc910
commit
b172117a1c
@ -48,7 +48,7 @@ static inline int bitset_get(const struct bitset *b, int n)
|
|||||||
|
|
||||||
static inline int bitset_empty(const struct bitset *b)
|
static inline int bitset_empty(const struct bitset *b)
|
||||||
{
|
{
|
||||||
return !!b->v;
|
return !b->v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user