We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6e863 commit 7f2576cCopy full SHA for 7f2576c
src/allocator_internal.h
@@ -104,8 +104,8 @@ typedef unsigned long bitmap_t;
104
105
// Stop configuring.
106
107
-#define CONTINUATIONS_PER_BITMAP (BYTES_PER_BITMAP * 8)
108
-#define BITMAPS_PER_SUPERMAP (BYTES_PER_SUPERMAP * 8)
+#define CONTINUATIONS_PER_BITMAP (BYTES_PER_BITMAP * CHAR_BIT)
+#define BITMAPS_PER_SUPERMAP (BYTES_PER_SUPERMAP * CHAR_BIT)
109
110
#define BYTES_PER_MAGAZINE (PAGES_PER_MAGAZINE * DISPATCH_ALLOCATOR_PAGE_SIZE)
111
#define CONSUMED_BYTES_PER_BITMAP (BYTES_PER_BITMAP + \
0 commit comments