summaryrefslogtreecommitdiffstats
path: root/Source/cmAuxSourceDirectoryCommand.cxx
diff options
context:
space:
mode:
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