1
0
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:
Werner Almesberger 2012-04-28 22:49:40 -03:00
parent eabe0dc910
commit b172117a1c

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) static inline int bitset_empty(const struct bitset *b)
{ {
return !!b->v; return !b->v;
} }