mapi: Prevent cast from pointer to integer of different size.
On Windows64.
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user