summaryrefslogtreecommitdiffstats
path: root/libasm/asm_fill.c
diff options
context:
space:
mode:
Diffstat (limited to 'libasm/asm_fill.c')
-rw-r--r--libasm/asm_fill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libasm/asm_fill.c b/libasm/asm_fill.c
index 62d9d732..783555ee 100644
--- a/libasm/asm_fill.c
+++ b/libasm/asm_fill.c
@@ -54,8 +54,7 @@ asm_fill (AsmScn_t *asmscn, void *bytes, size_t len)
else
{
/* Allocate appropriate memory. */
- pattern = (struct FillPattern *) malloc (sizeof (struct FillPattern)
- + len);
+ pattern = malloc (sizeof (struct FillPattern) + len);
if (pattern == NULL)
return -1;