summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-20 14:27:59 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-20 14:27:59 (GMT)
commit850721f9afc56b86768e24477766ee1a9ba74f11 (patch)
treef252da21c42ec98da0d4e588045abb95d0dd1a6e /Source/cmLocalGenerator.cxx
parent48be0a596f33c6699d0cc2110e1522bde27ac8d6 (diff)
downloadCMake-850721f9afc56b86768e24477766ee1a9ba74f11.zip
CMake-850721f9afc56b86768e24477766ee1a9ba74f11.tar.gz
CMake-850721f9afc56b86768e24477766ee1a9ba74f11.tar.bz2
COMP: Fixed data loss warning.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 830f8f3..3e1436f 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1681,7 +1681,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
{
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 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
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))