summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-06 14:48:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-06 14:48:44 (GMT)
commit354835bd7341897149af218b387dc9e20a413454 (patch)
tree3be7d239ea4b2044b7effc648a9e5721667931ac /Source/cmakemain.cxx
parentff0847b2d524b42e0da60d8b0459e8e5310786b3 (diff)
parent353ec237376d940e975bfbe0d982ebeddd21fc29 (diff)
downloadCMake-354835bd7341897149af218b387dc9e20a413454.zip
CMake-354835bd7341897149af218b387dc9e20a413454.tar.gz
CMake-354835bd7341897149af218b387dc9e20a413454.tar.bz2
Merge topic 'static_cast'
353ec237 use static_cast<> for casts from void* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1225
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index e6f88a7..a60b2b2 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -102,7 +102,7 @@ static int do_build(int ac, char const* const* av);
static cmMakefile* cmakemainGetMakefile(void* clientdata)
{
- cmake* cm = reinterpret_cast<cmake*>(clientdata);
+ cmake* cm = static_cast<cmake*>(clientdata);
if (cm && cm->GetDebugOutput()) {
cmGlobalGenerator* gg = cm->GetGlobalGenerator();
if (gg) {