浏览代码

Remove warning about sign and unsigned

Andy Cedilnik 23 年之前
父节点
当前提交
f15cce92f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/ccommand.cxx

+ 1 - 1
Source/ccommand.cxx

@@ -49,7 +49,7 @@ int main(int ac, char** av)
       }
     if ( args[1] == "remove" && args.size() > 2 )
       {
-      for ( int cc = 2; cc < args.size(); cc ++ )
+      for ( std::string::size_type cc = 2; cc < args.size(); cc ++ )
 	{
 	cmSystemTools::RemoveFile(args[cc].c_str());
 	}