Make cmLinkInterface:: and cmGeneratorTarget::Multiplicity unsigned ints

This commit is contained in:
Christoph Grüninger 2016-02-03 23:22:38 +01:00 committed by Brad King
parent a5a5a68572
commit 58a4a77132
3 changed files with 3 additions and 3 deletions

View File

@ -931,7 +931,7 @@ cmComputeLinkDepends::MakePendingComponent(unsigned int component)
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
int cmComputeLinkDepends::ComputeComponentCount(NodeList const& nl) int cmComputeLinkDepends::ComputeComponentCount(NodeList const& nl)
{ {
int count = 2; unsigned int count = 2;
for(NodeList::const_iterator ni = nl.begin(); ni != nl.end(); ++ni) for(NodeList::const_iterator ni = nl.begin(); ni != nl.end(); ++ni)
{ {
if(cmGeneratorTarget const* target = this->EntryList[*ni].Target) if(cmGeneratorTarget const* target = this->EntryList[*ni].Target)

View File

@ -599,7 +599,7 @@ private:
{ {
ImportInfo(): NoSOName(false), Multiplicity(0) {} ImportInfo(): NoSOName(false), Multiplicity(0) {}
bool NoSOName; bool NoSOName;
int Multiplicity; unsigned int Multiplicity;
std::string Location; std::string Location;
std::string SOName; std::string SOName;
std::string ImportLibrary; std::string ImportLibrary;

View File

@ -73,7 +73,7 @@ struct cmLinkInterface: public cmLinkInterfaceLibraries
// Number of repetitions of a strongly connected component of two // Number of repetitions of a strongly connected component of two
// or more static libraries. // or more static libraries.
int Multiplicity; unsigned int Multiplicity;
// Libraries listed for other configurations. // Libraries listed for other configurations.
// Needed only for OLD behavior of CMP0003. // Needed only for OLD behavior of CMP0003.