aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/dwarf1.c')
-rw-r--r--bfd/dwarf1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/dwarf1.c b/bfd/dwarf1.c
index 4681887..7ff80f3 100644
--- a/bfd/dwarf1.c
+++ b/bfd/dwarf1.c
@@ -140,7 +140,7 @@ struct linenumber
static struct dwarf1_unit*
alloc_dwarf1_unit (struct dwarf1_debug* stash)
{
- bfd_size_type amt = sizeof (struct dwarf1_unit);
+ size_t amt = sizeof (struct dwarf1_unit);
struct dwarf1_unit* x = (struct dwarf1_unit *) bfd_zalloc (stash->abfd, amt);
if (x)
@@ -158,7 +158,7 @@ alloc_dwarf1_unit (struct dwarf1_debug* stash)
static struct dwarf1_func *
alloc_dwarf1_func (struct dwarf1_debug* stash, struct dwarf1_unit* aUnit)
{
- bfd_size_type amt = sizeof (struct dwarf1_func);
+ size_t amt = sizeof (struct dwarf1_func);
struct dwarf1_func* x = (struct dwarf1_func *) bfd_zalloc (stash->abfd, amt);
if (x)