From: Bodo Möller Date: Mon, 17 Sep 2012 17:26:03 +0000 (+0000) Subject: Fix warning. X-Git-Tag: OpenSSL_1_0_0k~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9c5d75d5a94be4a54ff2364ad1aef96e0a155e7f;p=oweals%2Fopenssl.git Fix warning. Submitted by: Chromium Authors --- diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 24fe123e14..139bd1272a 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -500,7 +500,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 }