summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-19 13:52:45 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-19 13:52:45 (GMT)
commit610da00d51bb761325b2f93e202094ae1a3ed4c1 (patch)
tree7d7120342eec90d2049c039de3af29f1359ab8ad /Source
parent18a9fdf8f440bd46888ba1d4a1bcb7fe5f7c7c6e (diff)
downloadCMake-610da00d51bb761325b2f93e202094ae1a3ed4c1.zip
CMake-610da00d51bb761325b2f93e202094ae1a3ed4c1.tar.gz
CMake-610da00d51bb761325b2f93e202094ae1a3ed4c1.tar.bz2
ERR: Fixed signed/unsigned warning.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDocumentation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 1e2e695..394c263 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -214,7 +214,7 @@ cmDocumentation::Type cmDocumentation::CheckOptions(int argc, char** argv)
void cmDocumentation::Print(Form f, std::ostream& os)
{
this->CurrentForm = f;
- for(int i=0; i < this->Sections.size(); ++i)
+ for(unsigned int i=0; i < this->Sections.size(); ++i)
{
this->PrintSection(os, this->Sections[i], this->Names[i]);
}
@@ -541,7 +541,7 @@ void cmDocumentation::PrintColumn(std::ostream& os, const char* text)
int column = 0;
bool newSentence = false;
bool firstLine = true;
- int width = this->TextWidth - strlen(this->TextIndent);
+ int width = this->TextWidth - static_cast<int>(strlen(this->TextIndent));
// Loop until the end of the text.
while(*l)