aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/thr_id.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2012-09-17 17:21:58 +0000
committerBodo Möller <bodo@openssl.org>2012-09-17 17:21:58 +0000
commit6373af15d37bd5aeb75d207787f154914f0ff9d8 (patch)
treebaa0320118971a676cc4a2ebd993fd826a7932d9 /crypto/thr_id.c
parent63d8834c2603d2ad9408fe3a4d2702f623f59c9a (diff)
downloadopenssl-6373af15d37bd5aeb75d207787f154914f0ff9d8.tar.gz
Fix warning.
Submitted by: Chromium Authors
Diffstat (limited to 'crypto/thr_id.c')
-rw-r--r--crypto/thr_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/thr_id.c b/crypto/thr_id.c
index 71576dae29..4267526777 100644
--- a/crypto/thr_id.c
+++ b/crypto/thr_id.c
@@ -204,7 +204,7 @@ void CRYPTO_THREADID_current(CRYPTO_THREADID *id)
CRYPTO_THREADID_set_numeric(id, (unsigned long)find_thread(NULL));
#else
/* For everything else, default to using the address of 'errno' */
- CRYPTO_THREADID_set_pointer(id, &errno);
+ CRYPTO_THREADID_set_pointer(id, (void*)&errno);
#endif
}