mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-02 21:48:12 +08:00
fixed an issue due to the 64-bit assumption
This commit is contained in:
@@ -3,11 +3,12 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include "kalloc.h"
|
#include "kalloc.h"
|
||||||
|
|
||||||
#define __KDQ_TYPE(type) \
|
#define __KDQ_TYPE(type) \
|
||||||
typedef struct { \
|
typedef struct { \
|
||||||
size_t front:58, bits:6, count, mask; \
|
uint64_t front:58, bits:6, count, mask; \
|
||||||
type *a; \
|
type *a; \
|
||||||
void *km; \
|
void *km; \
|
||||||
} kdq_##type##_t;
|
} kdq_##type##_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user