diff options
author | daan <daanl@outlook.com> | 2019-06-25 20:06:34 -0700 |
---|---|---|
committer | daan <daanl@outlook.com> | 2019-06-25 20:06:34 -0700 |
commit | fac0d4b409de7fa0fcd3145d8f12e7efa34ff2d3 (patch) | |
tree | 815eb3f99acdf9848725fd52611d1502505e04c8 /include/mimalloc-internal.h | |
parent | b3ce61c408935bfada17c27d3694e1bc05e79c1b (diff) |
fix passing void as argument
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r-- | include/mimalloc-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h index e99ebfa..160716d 100644 --- a/include/mimalloc-internal.h +++ b/include/mimalloc-internal.h @@ -290,7 +290,7 @@ static inline void mi_block_set_next(mi_page_t* page, mi_block_t* block, mi_bloc #include <windows.h> static inline uintptr_t _mi_thread_id(void) mi_attr_noexcept { // Windows: works on Intel and ARM in both 32- and 64-bit - return (uintptr_t)NtCurrentTeb(void); + return (uintptr_t)NtCurrentTeb(); } #elif (defined(__GNUC__) || defined(__clang__)) && \ (defined(__x86_64__) || defined(__i386__) || defined(__arm__) || defined(__aarch64__)) |