![]() -Wextra enables a bunch of rather useful checks which this fixes. This changes the return value for the case when no ELF headers were found to avoid (ugly-ish) cast of -1 to unsigned. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- Changes: v2: * cast the return value to (int) * added missing (long) |
||
---|---|---|
.. | ||
Makefile | ||
elf.c | ||
elf32.c | ||
elf64.c | ||
elf_claim.c | ||
libelf.code | ||
libelf.in |