summaryrefslogtreecommitdiffstats
path: root/libelf/common.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2022-05-10 15:22:32 +0200
committerMark Wielaard <[email protected]>2022-05-10 15:22:32 +0200
commite06d1d2530fa5d7eb898f3114d282bd196315d55 (patch)
tree1db2efd48765f9dc4c7e72abd936f860c1a9c9c5 /libelf/common.h
parente00652f54afca62c5facbaddebe21012acd43386 (diff)
parent059e690e896e37c16774047bd1fd0c9e608545b8 (diff)
Merge tag 'elfutils-0.187' into mjw/RH-DTSupstream/mjw/RH-DTS
elfutils 0.187 release
Diffstat (limited to 'libelf/common.h')
-rw-r--r--libelf/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/common.h b/libelf/common.h
index e41c717d..3718b3fd 100644
--- a/libelf/common.h
+++ b/libelf/common.h
@@ -71,7 +71,7 @@ __attribute__ ((unused))
allocate_elf (int fildes, void *map_address, int64_t offset, size_t maxsize,
Elf_Cmd cmd, Elf *parent, Elf_Kind kind, size_t extra)
{
- Elf *result = (Elf *) calloc (1, sizeof (Elf) + extra);
+ Elf *result = calloc (1, sizeof (Elf) + extra);
if (result == NULL)
__libelf_seterrno (ELF_E_NOMEM);
else