summaryrefslogtreecommitdiff
path: root/libasm/asm_newscngrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libasm/asm_newscngrp.c')
-rw-r--r--libasm/asm_newscngrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libasm/asm_newscngrp.c b/libasm/asm_newscngrp.c
index 80757a9a..0ca87fba 100644
--- a/libasm/asm_newscngrp.c
+++ b/libasm/asm_newscngrp.c
@@ -57,7 +57,7 @@ asm_newscngrp (AsmCtx_t *ctx, const char *grpname, AsmSym_t *signature,
return NULL;
}
- result = (AsmScnGrp_t *) malloc (sizeof (AsmScnGrp_t) + grpname_len);
+ result = malloc (sizeof (AsmScnGrp_t) + grpname_len);
if (result == NULL)
return NULL;