am 2e43387b
: Merge "_beginthread returns uintptr_t."
* commit '2e43387b28e6e5a699bca69b2b66578ea60f9736': _beginthread returns uintptr_t.
This commit is contained in:
commit
28b9cb8f01
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ typedef void* (*adb_thread_func_t)(void* arg);
|
|||
typedef void (*win_thread_func_t)(void* arg);
|
||||
|
||||
static __inline__ bool adb_thread_create(adb_thread_func_t func, void* arg) {
|
||||
unsigned tid = _beginthread( (win_thread_func_t)func, 0, arg );
|
||||
return (tid != (unsigned)-1L);
|
||||
uintptr_t tid = _beginthread((win_thread_func_t)func, 0, arg);
|
||||
return (tid != static_cast<uintptr_t>(-1L));
|
||||
}
|
||||
|
||||
static __inline__ unsigned long adb_thread_id()
|
||||
|
|
Loading…
Reference in a new issue