Fix all warnings in the ELF parser