From f2d18d6e998e96b9dbb6e07b08f208b65dc22f5e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 12 May 2010 10:41:06 -0400 Subject: [PATCH] Try to remove some warnings. --- Source/cmELF.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 763fdd849..147f6accb 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -687,7 +687,7 @@ cmELFInternalImpl::GetDynamicSectionString(int tag) // The value has been read successfully. Report it. se.Position = static_cast(strtab.sh_offset + first); se.Size = last - first; - se.IndexInSection = di - this->DynamicSectionEntries.begin(); + se.IndexInSection = static_cast(di - this->DynamicSectionEntries.begin()); return &se; } }