Fix warning.
Submitted by: Chromium Authors
This commit is contained in:
parent
63d8834c26
commit
6373af15d3
@ -204,7 +204,7 @@ void CRYPTO_THREADID_current(CRYPTO_THREADID *id)
|
|||||||
CRYPTO_THREADID_set_numeric(id, (unsigned long)find_thread(NULL));
|
CRYPTO_THREADID_set_numeric(id, (unsigned long)find_thread(NULL));
|
||||||
#else
|
#else
|
||||||
/* For everything else, default to using the address of 'errno' */
|
/* For everything else, default to using the address of 'errno' */
|
||||||
CRYPTO_THREADID_set_pointer(id, &errno);
|
CRYPTO_THREADID_set_pointer(id, (void*)&errno);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user