浏览代码

ERR: Fixed signed/unsigned warning.

Brad King 23 年之前
父节点
当前提交
6435f608b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmGetFilenameComponentCommand.cxx

+ 1 - 1
Source/cmGetFilenameComponentCommand.cxx

@@ -51,7 +51,7 @@ bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string> const&
     }
   else if (args[2] == "PROGRAM")
     {
-    for(int i=2; i < args.size(); ++i)
+    for(unsigned int i=2; i < args.size(); ++i)
       {
       if(args[i] == "PROGRAM_ARGS")
         {