summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-13 15:25:11 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-13 15:25:11 (GMT)
commit809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch)
treecbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmMakefile.cxx
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadCMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 95a0658..b3947bc 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -322,8 +322,8 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
}
// add this list file to the list of dependencies
m_ListFiles.push_back( filenametoread);
- const int numberFunctions = lf->m_Functions.size();
- for(int i =0; i < numberFunctions; ++i)
+ const size_t numberFunctions = lf->m_Functions.size();
+ for(size_t i =0; i < numberFunctions; ++i)
{
cmListFileFunction& curFunction = lf->m_Functions[i];
if(!this->IsFunctionBlocked(curFunction.m_Name.c_str(),