aboutsummaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index 402d766..2365c24 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -634,7 +634,7 @@ _bfd_generic_read_minisymbols (abfd, dynamic, minisymsp, sizep)
if (storage < 0)
goto error_return;
- syms = (asymbol **) malloc (storage);
+ syms = (asymbol **) malloc ((size_t) storage);
if (syms == NULL)
{
bfd_set_error (bfd_error_no_memory);