Fix warning.

Submitted by: Chromium Authors
This commit is contained in:
Bodo Möller 2012-09-17 17:23:43 +00:00
parent 507e5c3a61
commit 9a7f80c869

View File

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