summaryrefslogtreecommitdiffstats
path: root/Source/cmAuxSourceDirectoryCommand.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/cmAuxSourceDirectoryCommand.cxx
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadCMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx
index 17ccff0..ad79acd 100644
--- a/Source/cmAuxSourceDirectoryCommand.cxx
+++ b/Source/cmAuxSourceDirectoryCommand.cxx
@@ -35,8 +35,8 @@ bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& ar
cmDirectory dir;
if(dir.Load(tdir.c_str()))
{
- int numfiles = dir.GetNumberOfFiles();
- for(int i =0; i < numfiles; ++i)
+ size_t numfiles = dir.GetNumberOfFiles();
+ for(size_t i =0; i < numfiles; ++i)
{
std::string file = dir.GetFile(i);
// Split the filename into base and extension