summaryrefslogtreecommitdiff
path: root/Source/cmCommandArgumentParserHelper.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-26 11:46:22 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-26 11:46:22 -0400
commita9c0929d3938e432484cc2c3e44bf79167ed010d (patch)
treee9b9ebe3403518d16eb3cee89f32801828341e55 /Source/cmCommandArgumentParserHelper.cxx
parent47ef50453004e62510f5705185d912950e8fb68f (diff)
downloadcmake-a9c0929d3938e432484cc2c3e44bf79167ed010d.tar.gz
COMP: Handle both ansi and non-ansi C
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r--Source/cmCommandArgumentParserHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx
index 51a4d3ad6c..1d37a34860 100644
--- a/Source/cmCommandArgumentParserHelper.cxx
+++ b/Source/cmCommandArgumentParserHelper.cxx
@@ -139,7 +139,7 @@ void cmCommandArgumentParserHelper::AllocateParserType
pt->str = 0;
if ( len == 0 )
{
- len = (int)strlen(str);
+ len = static_cast<int>(strlen(str));
}
if ( len == 0 )
{