소스 검색

BUG: fix type problem size_type is unsigned

Bill Hoffman 24 년 전
부모
커밋
0552c4025d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Source/cmCableClassSet.cxx

+ 1 - 1
Source/cmCableClassSet.cxx

@@ -693,7 +693,7 @@ bool ElementCombinationGenerator::GenerateTag(const cmStdString& element)
   if(regex.find(element))
     {
     m_Tag = "_";
-    if(regex.start(1) > 0 && regex.match(1) == "long ")
+    if(static_cast<int>(regex.start(1)) > 0 && regex.match(1) == "long ")
       {
       m_Tag.append("l");
       }