COMP: Fixed data loss warning.

This commit is contained in:
Brad King 2007-12-20 09:27:59 -05:00
parent 48be0a596f
commit 850721f9af
1 changed files with 2 additions and 2 deletions

View File

@ -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))