diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2017-09-01 20:50:00 +0200 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2017-09-01 20:50:00 +0200 |
commit | 353ec237376d940e975bfbe0d982ebeddd21fc29 (patch) | |
tree | 3ca0a2c33f37b9aacf4433ceaa09c6fa5444e23b /Source/cmakemain.cxx | |
parent | 671cc7490ca1dd732cbb3671d4732eb1ee1e180e (diff) | |
download | cmake-353ec237376d940e975bfbe0d982ebeddd21fc29.tar.gz |
use static_cast<> for casts from void*
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 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) { |