Ver Fonte

COMP: fix mac warning

Ken Martin há 19 anos atrás
pai
commit
108101c1dc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Source/cmake.cxx

+ 1 - 1
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";