Browse Source

BUG: fix type problem size_type is unsigned

Bill Hoffman 24 years ago
parent
commit
0552c4025d
1 changed files with 1 additions and 1 deletions
  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");
       }