summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionParser.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-22 13:08:33 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-22 13:08:33 (GMT)
commitc9f17352d1d06c3436127408875c396188aaa857 (patch)
tree6192d1e2457a1acd32e2e4b9930336e878c9b4b4 /Source/cmGeneratorExpressionParser.cxx
parent7809adb8145ce0d1831dc34c49f1406ad7fa68ad (diff)
parenta80fe4b1d24dff993442a45e63948eeb9e6a3962 (diff)
downloadCMake-c9f17352d1d06c3436127408875c396188aaa857.zip
CMake-c9f17352d1d06c3436127408875c396188aaa857.tar.gz
CMake-c9f17352d1d06c3436127408875c396188aaa857.tar.bz2
Merge topic 'genex-conversion-warnings'
a80fe4b use size_t for GeneratorExpressionContent::ContentLength to fix some warnings
Diffstat (limited to 'Source/cmGeneratorExpressionParser.cxx')
-rw-r--r--Source/cmGeneratorExpressionParser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx
index e1fb8f1..a41a6e5 100644
--- a/Source/cmGeneratorExpressionParser.cxx
+++ b/Source/cmGeneratorExpressionParser.cxx
@@ -235,7 +235,7 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
return;
}
- int contentLength = ((this->it - 1)->Content
+ size_t contentLength = ((this->it - 1)->Content
- startToken->Content)
+ (this->it - 1)->Length;
GeneratorExpressionContent *content = new GeneratorExpressionContent(