Commit ab5dc45b authored by José Fonseca's avatar José Fonseca

mapi: Prevent cast from pointer to integer of different size.

On Windows64.
parent 799f30f3
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment