projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d312b6d
)
lint: fix code style
author
Trevor Norris
<trev.norris@gmail.com>
Wed, 3 Dec 2014 01:10:40 +0000
(17:10 -0800)
committer
Trevor Norris
<trev.norris@gmail.com>
Wed, 3 Dec 2014 01:10:40 +0000
(17:10 -0800)
Couple code style fixes to pass cpplint
Fixes: 304c0b4 "crypto: store thread id as pointer-sized"
src/node_crypto.cc
patch
|
blob
|
history
diff --git
a/src/node_crypto.cc
b/src/node_crypto.cc
index 1e3fc2b6b39fbe9988715e555f8e3c250a1eded2..36836c1a7906ec5215ee14e79d64891a708fa456 100644
(file)
--- a/
src/node_crypto.cc
+++ b/
src/node_crypto.cc
@@
-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()
));
}