diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-06-13 19:58:22 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-06-29 19:25:56 +0200 |
commit | 536b4f42f42f5223980ec0e56d173ced75624904 (patch) | |
tree | 18d533b523b21c19f3395bc6231af957af1540b9 | |
parent | f27a6d9125c7e93f2f38a23fba04395527bfd02a (diff) | |
download | uClibc-alpine-536b4f42f42f5223980ec0e56d173ced75624904.tar.bz2 uClibc-alpine-536b4f42f42f5223980ec0e56d173ced75624904.tar.xz |
ldso_tls: fix compiler warning due to missing cast
Fix compiler warning (as below) due to missign cast
In file included from ldso/ldso/ldso.c:42:0:
ldso/ldso/dl-tls.c: In function 'init_tls':
ldso/ldso/dl-tls.c:1028:24: error: initialization makes pointer from integer without a cast
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | ldso/ldso/dl-tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-tls.c b/ldso/ldso/dl-tls.c index 43dd5a00a..362efbbec 100644 --- a/ldso/ldso/dl-tls.c +++ b/ldso/ldso/dl-tls.c @@ -1025,7 +1025,7 @@ init_tls (void) /* And finally install it for the main thread. If ld.so itself uses TLS we know the thread pointer was initialized earlier. */ - const char *lossage = TLS_INIT_TP (tcbp, USE___THREAD); + const char *lossage = (char *)TLS_INIT_TP (tcbp, USE___THREAD); if(__builtin_expect (lossage != NULL, 0)) { _dl_debug_early("cannot set up thread-local storage: %s\n", lossage); _dl_exit(30); |