summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatterText.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-12 14:22:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-12 14:22:55 (GMT)
commit5eeaa535b3328653a83ddf5074f4661fea1eca02 (patch)
tree75bb6af8553c4cb4d59b199de91549902898ca46 /Source/cmDocumentationFormatterText.cxx
parentce9ff00f235d11ff29e59dc48ab587924df30ad2 (diff)
downloadCMake-5eeaa535b3328653a83ddf5074f4661fea1eca02.zip
CMake-5eeaa535b3328653a83ddf5074f4661fea1eca02.tar.gz
CMake-5eeaa535b3328653a83ddf5074f4661fea1eca02.tar.bz2
Remove conversion warning.
Diffstat (limited to 'Source/cmDocumentationFormatterText.cxx')
-rw-r--r--Source/cmDocumentationFormatterText.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatterText.cxx b/Source/cmDocumentationFormatterText.cxx
index 078b890..0b04b73 100644
--- a/Source/cmDocumentationFormatterText.cxx
+++ b/Source/cmDocumentationFormatterText.cxx
@@ -96,7 +96,7 @@ void cmDocumentationFormatterText::PrintColumn(std::ostream& os,
{
// Print text arranged in an indented column of fixed witdh.
const char* l = text;
- int column = 0;
+ long column = 0;
bool newSentence = false;
bool firstLine = true;
int width = this->TextWidth - static_cast<int>(strlen(this->TextIndent));