summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-12 14:41:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-12 14:41:06 (GMT)
commit418e600006be393fb5b64644f922a58596178be1 (patch)
treedfe3d4d3e54cc91f0f2305a84f5cc43061d463b1
parent288a58a614fa4bce8cb0a29876b09f22ad44c7ad (diff)
downloadCMake-418e600006be393fb5b64644f922a58596178be1.zip
CMake-418e600006be393fb5b64644f922a58596178be1.tar.gz
CMake-418e600006be393fb5b64644f922a58596178be1.tar.bz2
Try to remove some warnings.
-rw-r--r--Source/cmELF.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx
index 763fdd8..147f6ac 100644
--- a/Source/cmELF.cxx
+++ b/Source/cmELF.cxx
@@ -687,7 +687,7 @@ cmELFInternalImpl<Types>::GetDynamicSectionString(int tag)
// The value has been read successfully. Report it.
se.Position = static_cast<unsigned long>(strtab.sh_offset + first);
se.Size = last - first;
- se.IndexInSection = di - this->DynamicSectionEntries.begin();
+ se.IndexInSection = static_cast<int>(di - this->DynamicSectionEntries.begin());
return &se;
}
}