summaryrefslogtreecommitdiff
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-09-01 20:50:00 +0200
committerRolf Eike Beer <eike@sf-mail.de>2017-09-01 20:50:00 +0200
commit353ec237376d940e975bfbe0d982ebeddd21fc29 (patch)
tree3ca0a2c33f37b9aacf4433ceaa09c6fa5444e23b /Source/cmakemain.cxx
parent671cc7490ca1dd732cbb3671d4732eb1ee1e180e (diff)
downloadcmake-353ec237376d940e975bfbe0d982ebeddd21fc29.tar.gz
use static_cast<> for casts from void*
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 e6f88a7dd1..a60b2b2358 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) {