Fix warning.

Submitted by: Chromium Authors
This commit is contained in:
Bodo Möller 2012-09-17 17:21:58 +00:00
parent 63d8834c26
commit 6373af15d3

View File

@ -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
}