summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-22 20:07:50 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-22 20:07:50 (GMT)
commit108101c1dc9dec1ae105bf3347c080a7e35ea71d (patch)
treeff1d1cb628f15d89aac87834c080a3cf738e255c /Source
parent53dce3b2314d4f3c95d60b5027fec18e8beb02a9 (diff)
downloadCMake-108101c1dc9dec1ae105bf3347c080a7e35ea71d.zip
CMake-108101c1dc9dec1ae105bf3347c080a7e35ea71d.tar.gz
CMake-108101c1dc9dec1ae105bf3347c080a7e35ea71d.tar.bz2
COMP: fix mac warning
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index d3801cc..7e7d2f7 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -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";