diff options
-rw-r--r-- | Source/cmake.cxx | 2 |
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"; |