diff options
author | José Fonseca <[email protected]> | 2014-01-23 13:21:52 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-01-23 13:21:52 +0000 |
commit | ab5dc45b2fb7447dcb4f48b3f83f75e271eca9b6 (patch) | |
tree | 4d2a9dc759de3544e6a58bf7df32a029ecf2264f /src/mapi | |
parent | 799f30f3854a30569bb356d1640c0e3f11de0be2 (diff) |
mapi: Prevent cast from pointer to integer of different size.
On Windows64.
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/u_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/u_thread.h b/src/mapi/u_thread.h index 75fbec61dac..ba5d98ea902 100644 --- a/src/mapi/u_thread.h +++ b/src/mapi/u_thread.h @@ -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(); } |