Try to remove some warnings.

This commit is contained in:
Bill Hoffman 2010-05-12 10:41:06 -04:00
parent 521e26752b
commit f2d18d6e99

View File

@ -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;
}
}