summaryrefslogtreecommitdiff
path: root/src/util/tls.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/tls.h.in')
-rw-r--r--src/util/tls.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/tls.h.in b/src/util/tls.h.in
index bb69e7c82..e77d256dc 100644
--- a/src/util/tls.h.in
+++ b/src/util/tls.h.in
@@ -75,7 +75,7 @@ public:
}
operator T() const {
- return static_cast<T>(pthread_getspecific(d_key));
+ return static_cast<T>(reinterpret_cast<size_t>(pthread_getspecific(d_key)));
}
};/* class ThreadLocalImpl<T, true> */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback