summaryrefslogtreecommitdiffstats
path: root/Source/cmELF.cxx
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)
commitf2d18d6e998e96b9dbb6e07b08f208b65dc22f5e (patch)
treedfe3d4d3e54cc91f0f2305a84f5cc43061d463b1 /Source/cmELF.cxx
parent521e26752b1f1e60fd5e8990416f26cb62339a78 (diff)
downloadCMake-f2d18d6e998e96b9dbb6e07b08f208b65dc22f5e.zip
CMake-f2d18d6e998e96b9dbb6e07b08f208b65dc22f5e.tar.gz
CMake-f2d18d6e998e96b9dbb6e07b08f208b65dc22f5e.tar.bz2
Try to remove some warnings.
Diffstat (limited to 'Source/cmELF.cxx')
-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;
}
}