summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph GrĂ¼ninger <foss@grueninger.de>2016-02-03 22:22:38 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-04 15:57:02 (GMT)
commit58a4a7713233bebb5feca5985d0850d170703122 (patch)
treef4390f0954b122a50b844eb9c2baad6410a6071c
parenta5a5a6857241c21d306661d723b749839f4c6e1a (diff)
downloadCMake-58a4a7713233bebb5feca5985d0850d170703122.zip
CMake-58a4a7713233bebb5feca5985d0850d170703122.tar.gz
CMake-58a4a7713233bebb5feca5985d0850d170703122.tar.bz2
Make cmLinkInterface:: and cmGeneratorTarget::Multiplicity unsigned ints
-rw-r--r--Source/cmComputeLinkDepends.cxx2
-rw-r--r--Source/cmGeneratorTarget.h2
-rw-r--r--Source/cmLinkItem.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 13098ad..2796fdf 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/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)
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index d96a32c..65c29f5 100644
--- a/Source/cmGeneratorTarget.h
+++ b/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;
diff --git a/Source/cmLinkItem.h b/Source/cmLinkItem.h
index b603bcc..561293e 100644
--- a/Source/cmLinkItem.h
+++ b/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.