Fix warning.
Submitted by: Chromium Authors
This commit is contained in:
parent
ca461ecd11
commit
9c5d75d5a9
@ -500,7 +500,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