diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 10:25:11 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 10:25:11 -0500 |
commit | 809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch) | |
tree | cbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmAuxSourceDirectoryCommand.cxx | |
parent | 83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff) | |
download | cmake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz |
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r-- | Source/cmAuxSourceDirectoryCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx index 17ccff02be..ad79acd258 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 |