Ver Fonte

Make cmLinkInterface:: and cmGeneratorTarget::Multiplicity unsigned ints

Christoph Grüninger há 9 anos atrás
pai
commit
58a4a77132
3 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      Source/cmComputeLinkDepends.cxx
  2. 1 1
      Source/cmGeneratorTarget.h
  3. 1 1
      Source/cmLinkItem.h

+ 1 - 1
Source/cmComputeLinkDepends.cxx

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

+ 1 - 1
Source/cmGeneratorTarget.h

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

+ 1 - 1
Source/cmLinkItem.h

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