summaryrefslogtreecommitdiffstats
path: root/libelf/gelf_newphdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libelf/gelf_newphdr.c')
-rw-r--r--libelf/gelf_newphdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libelf/gelf_newphdr.c b/libelf/gelf_newphdr.c
index 4e95474e..84aad781 100644
--- a/libelf/gelf_newphdr.c
+++ b/libelf/gelf_newphdr.c
@@ -37,10 +37,10 @@
#include "libelfP.h"
-unsigned long int
+void *
gelf_newphdr ( Elf *elf, size_t phnum)
{
return (elf->class == ELFCLASS32
- ? (unsigned long int) INTUSE(elf32_newphdr) (elf, phnum)
- : (unsigned long int) INTUSE(elf64_newphdr) (elf, phnum));
+ ? (void *) INTUSE(elf32_newphdr) (elf, phnum)
+ : (void *) INTUSE(elf64_newphdr) (elf, phnum));
}