P-p-H-d / mlib

Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
BSD 2-Clause "Simplified" License
898 stars 77 forks source link

Overflow issue in bit set #81

Closed vladipus closed 3 years ago

vladipus commented 3 years ago

I'm merging your recent commits to my branch and found this: image You could use something like this, perhaps: image

P-p-H-d commented 3 years ago

Indeed. Thank you for your report. It is fixed in master.