diff options
Diffstat (limited to 'libelf/elf_readall.c')
| -rw-r--r-- | libelf/elf_readall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/elf_readall.c b/libelf/elf_readall.c index 384d2512..0a3a233d 100644 --- a/libelf/elf_readall.c +++ b/libelf/elf_readall.c @@ -107,7 +107,7 @@ __libelf_readall (Elf *elf) } /* Allocate all the memory we need. */ - mem = (char *) malloc (elf->maximum_size); + mem = malloc (elf->maximum_size); if (mem != NULL) { /* Read the file content. */ |
