diff --git a/Source/cmCableClassSet.cxx b/Source/cmCableClassSet.cxx index 9fb2f2b3a..47f8fa1de 100644 --- a/Source/cmCableClassSet.cxx +++ b/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(regex.start(1)) > 0 && regex.match(1) == "long ") { m_Tag.append("l"); }