diff options
author | Brad King <brad.king@kitware.com> | 2017-09-06 14:48:40 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-06 14:48:44 (GMT) |
commit | 354835bd7341897149af218b387dc9e20a413454 (patch) | |
tree | 3be7d239ea4b2044b7effc648a9e5721667931ac /Source/cmakemain.cxx | |
parent | ff0847b2d524b42e0da60d8b0459e8e5310786b3 (diff) | |
parent | 353ec237376d940e975bfbe0d982ebeddd21fc29 (diff) | |
download | CMake-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.cxx | 2 |
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) { |