[cmake-commits] king committed cmLocalGenerator.cxx 1.243 1.244
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Dec 20 09:28:02 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv32201
Modified Files:
cmLocalGenerator.cxx
Log Message:
COMP: Fixed data loss warning.
Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -d -r1.243 -r1.244
--- cmLocalGenerator.cxx 19 Dec 2007 08:56:13 -0000 1.243
+++ cmLocalGenerator.cxx 20 Dec 2007 14:27:59 -0000 1.244
@@ -1681,7 +1681,7 @@
{
std::string rpath;
std::string linkLibs;
- int minBuildRpathSize = 0;
+ unsigned int minBuildRpathSize = 0;
if ((relink==false)
&& this->Makefile->IsOn("CMAKE_USE_CHRPATH")
@@ -1690,7 +1690,7 @@
std::string installRpath;
std::string dummy;
this->GetLinkerArgs(installRpath, dummy, tgt, true, 0);
- minBuildRpathSize=installRpath.size();
+ minBuildRpathSize = static_cast<unsigned int>(installRpath.size());
}
if (!this->GetLinkerArgs(rpath, linkLibs, tgt, relink, minBuildRpathSize))
More information about the Cmake-commits
mailing list