summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2012-09-17 17:24:44 +0000
committerBodo Möller <bodo@openssl.org>2012-09-17 17:24:44 +0000
commitc3a5b7b82a64dd6d5d49ad1bba8d6e8576615bcb (patch)
tree57e21144efdcd3c34e4366d8e22a6afde6713791 /crypto
parent70d91d60bc68ade5d12cc9de6c9f3f10f319a5c5 (diff)
Fix warning.
Submitted by: Chromium Authors
Diffstat (limited to 'crypto')
-rw-r--r--crypto/cryptlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 97f0ddbbf8..a7cb4202e8 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -504,7 +504,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
}