BUG: fix type problem size_type is unsigned

This commit is contained in:
Bill Hoffman 2002-02-26 08:56:42 -05:00
parent 6ad590aad6
commit 0552c4025d

View File

@ -693,7 +693,7 @@ bool ElementCombinationGenerator::GenerateTag(const cmStdString& element)
if(regex.find(element)) if(regex.find(element))
{ {
m_Tag = "_"; 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"); m_Tag.append("l");
} }