COMP: fix mac warning

This commit is contained in:
Ken Martin 2006-05-22 16:07:50 -04:00
parent 53dce3b231
commit 108101c1dc
1 changed files with 1 additions and 1 deletions

View File

@ -1017,7 +1017,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
}
cmsys::Directory dir;
dir.Load(dirName.c_str());
size_t fileNum = dir.GetNumberOfFiles();
int fileNum = static_cast<int>(dir.GetNumberOfFiles());
// read the count
fName = dirName;
fName += "/count.txt";