diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-19 19:55:31 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-19 19:55:31 (GMT) |
commit | 39f0eadad31b421d28a1bc7b0c644a8268d500f8 (patch) | |
tree | e776a032da2e5f03b45d9622f88fd01d6d2b763e /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 463c8e07a818c539dd9dbb37034646a08c7622e3 (diff) | |
download | CMake-39f0eadad31b421d28a1bc7b0c644a8268d500f8.zip CMake-39f0eadad31b421d28a1bc7b0c644a8268d500f8.tar.gz CMake-39f0eadad31b421d28a1bc7b0c644a8268d500f8.tar.bz2 |
COMP: fix warning
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 1722028..daba40d 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -510,12 +510,12 @@ cmGlobalUnixMakefileGenerator3 std::vector<cmLocalGenerator *>::iterator sdi = subdirs.begin(); for (; sdi != subdirs.end(); ++sdi) { - cmLocalUnixMakefileGenerator3 * lg = + cmLocalUnixMakefileGenerator3 * lg2 = static_cast<cmLocalUnixMakefileGenerator3 *>(*sdi); - dir = lg->GetMakefile()->GetStartOutputDirectory(); + dir = lg2->GetMakefile()->GetStartOutputDirectory(); dir += "/directory"; - dir = lg->Convert(dir.c_str(),cmLocalGenerator::HOME_OUTPUT, - cmLocalGenerator::MAKEFILE); + dir = lg2->Convert(dir.c_str(),cmLocalGenerator::HOME_OUTPUT, + cmLocalGenerator::MAKEFILE); all_tgts.push_back(dir); } |