diff --git a/src/common/util/thread.h b/src/common/util/thread.h index 7cc1977..3497b89 100644 --- a/src/common/util/thread.h +++ b/src/common/util/thread.h @@ -10,8 +10,8 @@ typedef union { } Thread; typedef union { - uintptr_t value; - void *pointer; + uint32_t value; + void *pointer; // Bits outside of .value may be reset } ThreadResult; #define THREAD_NONE (Thread) { .handle = 0, }