diff options
author | Bodo Möller <bodo@openssl.org> | 2012-09-17 17:23:43 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2012-09-17 17:23:43 +0000 |
commit | 9a7f80c8695697d596387d0b803de9656c86b3bb (patch) | |
tree | 18c6966c1b228ee346331340a22ad999499dc2b5 | |
parent | 507e5c3a615e43b1f5a3823506eb7df45d5f0baf (diff) |
Fix warning.
Submitted by: Chromium Authors
-rw-r--r-- | crypto/cryptlib.c | 2 |
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 } |