summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.cxx8
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx4
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx4
3 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 14239a7..f20d3c2 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -27,7 +27,7 @@ cmGlobalGenerator::cmGlobalGenerator()
cmGlobalGenerator::~cmGlobalGenerator()
{
// Delete any existing cmLocalGenerators
- int i;
+ unsigned int i;
for (i = 0; i < m_LocalGenerators.size(); ++i)
{
delete m_LocalGenerators[i];
@@ -56,7 +56,7 @@ void cmGlobalGenerator::Configure()
m_LanguagesEnabled = false;
// Delete any existing cmLocalGenerators
- int i;
+ unsigned int i;
for (i = 0; i < m_LocalGenerators.size(); ++i)
{
delete m_LocalGenerators[i];
@@ -86,7 +86,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg)
std::vector<std::string> subdirs = lg->GetMakefile()->GetSubDirectories();
// for each subdir recurse
- int i;
+ unsigned int i;
for (i = 0; i < subdirs.size(); ++i)
{
cmLocalGenerator *lg2 = this->CreateLocalGenerator();
@@ -112,7 +112,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg)
void cmGlobalGenerator::Generate()
{
// For each existing cmLocalGenerator
- int i;
+ unsigned int i;
for (i = 0; i < m_LocalGenerators.size(); ++i)
{
m_LocalGenerators[i]->Generate(true);
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index bd0a00a..8000c6a 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -212,7 +212,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout)
std::string homedir = m_CMakeInstance->GetHomeDirectory();
homedir += "/";
- int i;
+ unsigned int i;
for(i = 0; i < m_LocalGenerators.size(); ++i)
{
cmMakefile* mf = m_LocalGenerators[i]->GetMakefile();
@@ -244,7 +244,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout)
// vector on the makefile
if(l->first == "ALL_BUILD")
{
- int j;
+ unsigned int j;
for(j = 0; j < m_LocalGenerators.size(); ++j)
{
const cmTargets &atgts =
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 75ce6d5..b23fde8 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -260,7 +260,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout)
// For each cmMakefile, create a VCProj for it, and
// add it to this SLN file
- int i;
+ unsigned int i;
for(i = 0; i < m_LocalGenerators.size(); ++i)
{
cmMakefile* mf = m_LocalGenerators[i]->GetMakefile();
@@ -292,7 +292,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout)
// vector on the makefile
if(l->first == "ALL_BUILD")
{
- int j;
+ unsigned int j;
for(j = 0; j < m_LocalGenerators.size(); ++j)
{
const cmTargets &atgts =