diff options
Diffstat (limited to 'src/timer_wrap.cc')
-rw-r--r-- | src/timer_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer_wrap.cc b/src/timer_wrap.cc index 90bb553f05..5e8ab051a6 100644 --- a/src/timer_wrap.cc +++ b/src/timer_wrap.cc @@ -83,7 +83,7 @@ class TimerWrap : public HandleWrap { } TimerWrap(Handle<Object> object) - : HandleWrap(object, (uv_handle_t*) &handle_) { + : HandleWrap(object, reinterpret_cast<uv_handle_t*>(&handle_)) { int r = uv_timer_init(uv_default_loop(), &handle_); assert(r == 0); handle_.data = this; |