summaryrefslogtreecommitdiffstats
path: root/Source/cmServer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r--Source/cmServer.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx
index d3aeb0b..c3e6811 100644
--- a/Source/cmServer.cxx
+++ b/Source/cmServer.cxx
@@ -470,11 +470,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);
}