From: Bodo Möller Date: Mon, 17 Sep 2012 17:23:43 +0000 (+0000) Subject: Fix warning. X-Git-Tag: OpenSSL_1_0_2-beta1~577 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a7f80c8695697d596387d0b803de9656c86b3bb;p=thirdparty%2Fopenssl.git Fix warning. Submitted by: Chromium Authors --- diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 97f0ddbbf87..a7cb4202e86 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 }