summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableRequiresCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-21 13:47:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-21 13:47:10 (GMT)
commit6156928549247c0d3ede3522aba18a1e93887e7d (patch)
treec8ecbe814f0022dc581fcb9c4aa0f2d6a7882735 /Source/cmVariableRequiresCommand.cxx
parentf7fae15d39d6e290686487778485734227415088 (diff)
downloadCMake-6156928549247c0d3ede3522aba18a1e93887e7d.zip
CMake-6156928549247c0d3ede3522aba18a1e93887e7d.tar.gz
CMake-6156928549247c0d3ede3522aba18a1e93887e7d.tar.bz2
WAR: fix warning
Diffstat (limited to 'Source/cmVariableRequiresCommand.cxx')
-rw-r--r--Source/cmVariableRequiresCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVariableRequiresCommand.cxx b/Source/cmVariableRequiresCommand.cxx
index a4352b1..4c12027 100644
--- a/Source/cmVariableRequiresCommand.cxx
+++ b/Source/cmVariableRequiresCommand.cxx
@@ -63,7 +63,7 @@ void cmVariableRequiresCommand::FinalPass()
std::string resultVarible = m_Arguments[1];
bool requirementsMet = true;
std::string notSet;
- for(int i = 2; i < m_Arguments.size(); ++i)
+ for(unsigned int i = 2; i < m_Arguments.size(); ++i)
{
if(!m_Makefile->IsOn(m_Arguments[i].c_str()))
{