summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-23 07:41:23 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-27 07:58:46 (GMT)
commit190e3825d44d4f846d37e1ec7372f5829a5b6b3e (patch)
tree85605643bc6fcdcb455d5fe58469a08874ef8673 /Source/CTest/cmCTestBuildCommand.cxx
parent2ade9a0264b7c8d4e97d9d820e8c1531f3d1a43c (diff)
downloadCMake-190e3825d44d4f846d37e1ec7372f5829a5b6b3e.zip
CMake-190e3825d44d4f846d37e1ec7372f5829a5b6b3e.tar.gz
CMake-190e3825d44d4f846d37e1ec7372f5829a5b6b3e.tar.bz2
Replace C-style casts
Diffstat (limited to 'Source/CTest/cmCTestBuildCommand.cxx')
-rw-r--r--Source/CTest/cmCTestBuildCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx
index 074f085..ce27da1 100644
--- a/Source/CTest/cmCTestBuildCommand.cxx
+++ b/Source/CTest/cmCTestBuildCommand.cxx
@@ -43,7 +43,7 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
this->SetError("internal CTest error. Cannot instantiate build handler");
return nullptr;
}
- this->Handler = (cmCTestBuildHandler*)handler;
+ this->Handler = static_cast<cmCTestBuildHandler*>(handler);
const char* ctestBuildCommand =
this->Makefile->GetDefinition("CTEST_BUILD_COMMAND");