Actually fix the math on bitsets

This commit is contained in:
Kevin Lange 2015-07-02 21:25:11 -07:00
parent cb8f821489
commit ce05bdbff7

View File

@ -11,7 +11,7 @@
#define iom \
size_t index = bit >> 3; \
bit = bit >> index; \
bit = bit - index * 8; \
size_t offset = bit & 7; \
size_t mask = 1 << offset;