aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/vms.c')
-rw-r--r--bfd/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/vms.c b/bfd/vms.c
index 2d49ba0..a2886dd 100644
--- a/bfd/vms.c
+++ b/bfd/vms.c
@@ -603,7 +603,7 @@ vms_new_section_hook (bfd * abfd, asection *section)
if (section_count > PRIV (section_count))
{
- bfd_size_type amt = section_count;
+ amt = section_count;
amt *= sizeof (asection *);
PRIV (sections) = bfd_realloc_or_free (PRIV (sections), amt);
if (PRIV (sections) == NULL)