[cmake-commits] alex committed cmMakefile.cxx 1.413 1.414
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Aug 28 16:27:12 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18970
Modified Files:
cmMakefile.cxx
Log Message:
COMP: explicitely cast to int to silence warning with msvc8
Alex
Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.413
retrieving revision 1.414
diff -u -d -r1.413 -r1.414
--- cmMakefile.cxx 26 Aug 2007 07:17:10 -0000 1.413
+++ cmMakefile.cxx 28 Aug 2007 20:27:10 -0000 1.414
@@ -1497,7 +1497,7 @@
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);
More information about the Cmake-commits
mailing list