From aeb6b5eeb1a30f17db868202fffc9ea7b385f565 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Sat, 2 Sep 2017 19:29:52 -0400 Subject: [PATCH] fixed an issue due to the 64-bit assumption --- kdq.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kdq.h b/kdq.h index 4a67c0b..8ae5c97 100644 --- a/kdq.h +++ b/kdq.h @@ -3,11 +3,12 @@ #include #include +#include #include "kalloc.h" #define __KDQ_TYPE(type) \ typedef struct { \ - size_t front:58, bits:6, count, mask; \ + uint64_t front:58, bits:6, count, mask; \ type *a; \ void *km; \ } kdq_##type##_t;