summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-09 16:58:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-09 16:58:55 (GMT)
commit766c48ae19277a352caece6e97a762b0c6b412e5 (patch)
tree346f11085d06bd72973d196a83e88367eb9e42f6
parent3708ed4ec8d327faf0ef2b0fe35d7ed53d99afce (diff)
downloadCMake-766c48ae19277a352caece6e97a762b0c6b412e5.zip
CMake-766c48ae19277a352caece6e97a762b0c6b412e5.tar.gz
CMake-766c48ae19277a352caece6e97a762b0c6b412e5.tar.bz2
WAR: remove a warning on i64
-rw-r--r--Source/cmCTest.cxx3
-rw-r--r--Source/cmakemain.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index f7f3b71..30f482f 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1571,7 +1571,8 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output)
cmListFileCache::GetInstance()->ClearCache();
int retv = this->RunCMakeAndTest(output);
cmSystemTools::ResetErrorOccuredFlag();
- cmListFileCache::GetInstance()->ClearCache();
+ cmListFileCache* lf = cmListFileCache::GetInstance();
+ lf->ClearCache();
#ifdef CMAKE_BUILD_WITH_CMAKE
cmDynamicLoader::FlushCache();
#endif
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 663a3b5..1c893ac 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -109,7 +109,8 @@ int main(int ac, char** av)
#ifdef CMAKE_BUILD_WITH_CMAKE
cmDynamicLoader::FlushCache();
#endif
- cmListFileCache::GetInstance()->ClearCache();
+ cmListFileCache* lf = cmListFileCache::GetInstance();
+ lf->ClearCache();
return ret;
}