aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/seclet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/seclet.c b/bfd/seclet.c
index 871b26f..d13d683 100644
--- a/bfd/seclet.c
+++ b/bfd/seclet.c
@@ -60,7 +60,7 @@ DEFUN(rel,(abfd, seclet, output_section),
if (output_section->flags & SEC_HAS_CONTENTS )
{
- bfd_byte *data = alloca(seclet->size);
+ bfd_byte *data = (bfd_byte *)alloca(seclet->size);
data = bfd_get_relocated_section_contents(abfd, seclet, data);
if(bfd_set_section_contents(abfd,
output_section,