projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
799f30f
)
mapi: Prevent cast from pointer to integer of different size.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 23 Jan 2014 13:21:52 +0000
(13:21 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 23 Jan 2014 13:21:52 +0000
(13:21 +0000)
On Windows64.
src/mapi/u_thread.h
patch
|
blob
|
history
diff --git
a/src/mapi/u_thread.h
b/src/mapi/u_thread.h
index 75fbec61dac44a4ebeedbf0a416215dab12274b8..ba5d98ea902bf0549b2bc04a1193c05c1d0462cf 100644
(file)
--- 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();
}