From c4f6c22c2033038c3629bc5c48f0f2346d211378 Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Tue, 2 Dec 2014 17:10:40 -0800 Subject: [PATCH] lint: fix code style Couple code style fixes to pass cpplint Fixes: 304c0b4 "crypto: store thread id as pointer-sized" --- src/node_crypto.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 1e3fc2b6b3..36836c1a79 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -151,8 +151,8 @@ template int SSLWrap::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(uv_thread_self())); }