]> pd.if.org Git - zpackage/blobdiff - elf/elf.h
fix segfault reading statically linked executables
[zpackage] / elf / elf.h
index 9100cf470830b0d899bb04887360a40e71d817a0..60d26aac239a418c7593522acffac3a3df15c543 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -575,7 +575,7 @@ Elf64_Shdr *libelf_shdr(void *elf, int n);
 Elf64_Shdr *libelf_sht_strtab(void *elf);
 char *libelf_sectionname(Elf64_Shdr *section, Elf64_Shdr *strtab);
 Elf64_Shdr *libelf_section_n(void *elf, int n);
-Elf64_Shdr *libelf_section(void *elf, int type);
+Elf64_Shdr *libelf_section(void *elf, unsigned int type);
 int libelf_type(void *elf);
 int libelf_iself(void *elf);