summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-07-06 07:46:00 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-07-09 18:15:07 (GMT)
commit990f77eab35675f323fb320a75e843eb7bddee21 (patch)
treec95f0c66dbb6093b61aa4c0b57ca4a06d1d54c2d
parent6332ba5a58f0114d1763c263950eae20b09eaa4b (diff)
downloadCMake-990f77eab35675f323fb320a75e843eb7bddee21.zip
CMake-990f77eab35675f323fb320a75e843eb7bddee21.tar.gz
CMake-990f77eab35675f323fb320a75e843eb7bddee21.tar.bz2
Ninja: remove int/size_t warning
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 23f42e4..b405905 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -558,7 +558,7 @@ void cmGlobalNinjaGenerator::AddRule(const std::string& name,
restat,
generator);
- this->RuleCmdLength[name] = command.size();
+ this->RuleCmdLength[name] = (int) command.size();
}
bool cmGlobalNinjaGenerator::HasRule(const std::string &name)