summaryrefslogtreecommitdiff
path: root/src/node_win32_etw_provider.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-05-26 17:06:45 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-05-30 00:12:49 +0200
commit4d68daea0f3b092743a7793748f684c2827d6210 (patch)
treea200f45fdc9557399d47e600d9f8f956b6997bf7 /src/node_win32_etw_provider.cc
parent28659aba37fc9136dad6181306696ce4a6d6ba3f (diff)
downloadandroid-node-v8-4d68daea0f3b092743a7793748f684c2827d6210.tar.gz
android-node-v8-4d68daea0f3b092743a7793748f684c2827d6210.tar.bz2
android-node-v8-4d68daea0f3b092743a7793748f684c2827d6210.zip
src: replace c-style casts with c++-style casts
Diffstat (limited to 'src/node_win32_etw_provider.cc')
-rw-r--r--src/node_win32_etw_provider.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node_win32_etw_provider.cc b/src/node_win32_etw_provider.cc
index 26769b0e5a..258005c8b8 100644
--- a/src/node_win32_etw_provider.cc
+++ b/src/node_win32_etw_provider.cc
@@ -173,9 +173,9 @@ void init_etw() {
// create async object used to invoke main thread from callback
uv_async_init(uv_default_loop(),
- &dispatch_etw_events_change_async,
- etw_events_change_async);
- uv_unref((uv_handle_t*) &dispatch_etw_events_change_async);
+ &dispatch_etw_events_change_async,
+ etw_events_change_async);
+ uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_etw_events_change_async));
if (event_register) {
DWORD status = event_register(&NODE_ETW_PROVIDER,
@@ -202,4 +202,4 @@ void shutdown_etw() {
advapi = NULL;
}
}
-} \ No newline at end of file
+}