diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-09-30 21:39:14 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-09-30 21:39:14 +0000 |
commit | d0b49d588033ab8140bdf297c9cdf73b1088fe68 (patch) | |
tree | 991a27d038a10d81805f7f02e10f8c78d68579dd /src/util/tls.h.in | |
parent | 1c2b7c593fa1c12575eb37e56a5c66a1a190ad81 (diff) |
fixed a number of problems with mac os x builds. build now works on mac os x if you disable the clock_gettime check in configure.ac (resolves bug #202), but the parser is broken (new bug #208)
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> */ |