COMP: Fix signed/unsigned comparison warning in cmELF.

This commit is contained in:
Brad King 2008-04-15 09:00:20 -04:00
parent a8604d07d0
commit cf3e180f14

View File

@ -589,7 +589,7 @@ unsigned long cmELFInternalImpl<Types>::GetDynamicEntryPosition(int j)
{ {
return 0; return 0;
} }
if(j < 0 || j >= this->DynamicSectionEntries.size()) if(j < 0 || j >= static_cast<int>(this->DynamicSectionEntries.size()))
{ {
return 0; return 0;
} }