We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b39800 commit f6c1b28Copy full SHA for f6c1b28
1 file changed
kdq.h
@@ -3,10 +3,11 @@
3
4
#include <stdlib.h>
5
#include <string.h>
6
+#include <limits.h>
7
8
#define __KDQ_TYPE(type) \
9
typedef struct { \
- size_t front:58, bits:6, count, mask; \
10
+ size_t front:((CHAR_BIT * sizeof(size_t)) - 6), bits:6, count, mask; \
11
type *a; \
12
} kdq_##type##_t;
13
0 commit comments