Index: courgette/disassembler_elf_32_x86.cc |
diff --git a/courgette/disassembler_elf_32_x86.cc b/courgette/disassembler_elf_32_x86.cc |
index a14475fc5b4019c7026932c067e595817611d68e..b62b293f4ce76e432ebd64415ff924b5f76df088 100644 |
--- a/courgette/disassembler_elf_32_x86.cc |
+++ b/courgette/disassembler_elf_32_x86.cc |
@@ -106,7 +106,7 @@ CheckBool DisassemblerElf32X86::ParseRelocationSection( |
if (abs32_locations_.size() > section_relocs_count) |
match = false; |
- std::vector<RVA>::iterator reloc_iter = abs32_locations_.begin(); |
+ std::vector<RVA>::const_iterator reloc_iter = abs32_locations_.begin(); |
while (match && (reloc_iter != abs32_locations_.end())) { |
if (section_relocs_iter->r_info != R_386_RELATIVE || |