diff options
Diffstat (limited to 'src/util/tls.h.in')
-rw-r--r-- | src/util/tls.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/tls.h.in b/src/util/tls.h.in index 80eac93b0..c2892d11c 100644 --- a/src/util/tls.h.in +++ b/src/util/tls.h.in @@ -71,7 +71,7 @@ public: } operator T() const { - return reinterpret_cast<T>(pthread_getspecific(d_key)); + return static_cast<T>(pthread_getspecific(d_key)); } };/* class ThreadLocalImpl<T, true> */ |