summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCableClassSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCableClassSet.cxx b/Source/cmCableClassSet.cxx
index 9fb2f2b..47f8fa1 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<int>(regex.start(1)) > 0 && regex.match(1) == "long ")
{
m_Tag.append("l");
}