diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-23 07:41:23 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-27 07:58:46 (GMT) |
commit | 190e3825d44d4f846d37e1ec7372f5829a5b6b3e (patch) | |
tree | 85605643bc6fcdcb455d5fe58469a08874ef8673 /Source/cmServer.cxx | |
parent | 2ade9a0264b7c8d4e97d9d820e8c1531f3d1a43c (diff) | |
download | CMake-190e3825d44d4f846d37e1ec7372f5829a5b6b3e.zip CMake-190e3825d44d4f846d37e1ec7372f5829a5b6b3e.tar.gz CMake-190e3825d44d4f846d37e1ec7372f5829a5b6b3e.tar.bz2 |
Replace C-style casts
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r-- | Source/cmServer.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx index 04810c6..afac1da 100644 --- a/Source/cmServer.cxx +++ b/Source/cmServer.cxx @@ -469,11 +469,13 @@ void cmServerBase::OnServeStart() void cmServerBase::StartShutDown() { - if (!uv_is_closing((const uv_handle_t*)&this->SIGINTHandler)) { + if (!uv_is_closing( + reinterpret_cast<const uv_handle_t*>(&this->SIGINTHandler))) { uv_signal_stop(&this->SIGINTHandler); } - if (!uv_is_closing((const uv_handle_t*)&this->SIGHUPHandler)) { + if (!uv_is_closing( + reinterpret_cast<const uv_handle_t*>(&this->SIGHUPHandler))) { uv_signal_stop(&this->SIGHUPHandler); } |