lint: fix code style
Couple code style fixes to pass cpplint Fixes: 304c0b4 "crypto: store thread id as pointer-sized"
This commit is contained in:
parent
d312b6d15c
commit
c4f6c22c20
@ -151,8 +151,8 @@ template int SSLWrap<TLSCallbacks>::TLSExtStatusCallback(SSL* s, void* arg);
|
||||
|
||||
|
||||
static void crypto_threadid_cb(CRYPTO_THREADID* tid) {
|
||||
assert(sizeof(uv_thread_t) <= sizeof(void*));
|
||||
CRYPTO_THREADID_set_pointer(tid, (void*) uv_thread_self());
|
||||
assert(sizeof(uv_thread_t) <= sizeof(void*)); // NOLINT(runtime/sizeof)
|
||||
CRYPTO_THREADID_set_pointer(tid, reinterpret_cast<void*>(uv_thread_self()));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user