diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-28 20:27:10 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-28 20:27:10 (GMT) |
commit | fc9f19b202844fb612ccf7e0c38181e0959e7ac1 (patch) | |
tree | 2d3ea4dae3718eceb4054745096c1c426e85957d /Source/cmMakefile.cxx | |
parent | c3b42e90ed4e4f98b1a055c9e62dc67aeb19e6f2 (diff) | |
download | CMake-fc9f19b202844fb612ccf7e0c38181e0959e7ac1.zip CMake-fc9f19b202844fb612ccf7e0c38181e0959e7ac1.tar.gz CMake-fc9f19b202844fb612ccf7e0c38181e0959e7ac1.tar.bz2 |
COMP: explicitely cast to int to silence warning with msvc8
Alex
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 24126f9..8d22861 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1497,7 +1497,7 @@ void cmMakefile::AddSourceGroup(const std::vector<std::string>& name, cmSourceGroup* sg = 0; std::vector<std::string> currentName; int i = 0; - const int lastElement = name.size()-1; + const int lastElement = static_cast<int>(name.size()-1); for(i=lastElement; i>=0; --i) { currentName.assign(name.begin(), name.begin()+i+1); |