From 108101c1dc9dec1ae105bf3347c080a7e35ea71d Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 22 May 2006 16:07:50 -0400 Subject: [PATCH] COMP: fix mac warning --- Source/cmake.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index d3801ccc1..7e7d2f724 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1017,7 +1017,7 @@ int cmake::ExecuteCMakeCommand(std::vector& args) } cmsys::Directory dir; dir.Load(dirName.c_str()); - size_t fileNum = dir.GetNumberOfFiles(); + int fileNum = static_cast(dir.GetNumberOfFiles()); // read the count fName = dirName; fName += "/count.txt";