소스 검색

COMP: fix mac warning

Ken Martin 19 년 전
부모
커밋
108101c1dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
       cmsys::Directory dir;
       dir.Load(dirName.c_str());
       dir.Load(dirName.c_str());
-      size_t fileNum = dir.GetNumberOfFiles();
+      int fileNum = static_cast<int>(dir.GetNumberOfFiles());
       // read the count
       // read the count
       fName = dirName;
       fName = dirName;
       fName += "/count.txt";
       fName += "/count.txt";