mapi: Prevent cast from pointer to integer of different size.
On Windows64.
This commit is contained in:
parent
799f30f385
commit
ab5dc45b2f
|
@ -92,7 +92,7 @@ typedef mtx_t u_mutex;
|
|||
static INLINE unsigned long
|
||||
u_thread_self(void)
|
||||
{
|
||||
return (unsigned long) thrd_current();
|
||||
return (unsigned long) (uintptr_t) thrd_current();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue