aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2015-06-15 19:20:02 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2015-06-16 13:41:30 +0100
commit56f4083249f4633084d4e8d89fc065e895f874cf (patch)
treee31cb39c81b739db3537a7c1272d380751646aa7 /bfd/bfd.c
parent24b4cf66a626566e7903813a2e0156778f4903f9 (diff)
downloadgdb-56f4083249f4633084d4e8d89fc065e895f874cf.zip
gdb-56f4083249f4633084d4e8d89fc065e895f874cf.tar.gz
gdb-56f4083249f4633084d4e8d89fc065e895f874cf.tar.bz2
Fix build when size_t is not available in bfd-in2.h
bfd/ChangeLog: 2015-06-15 Jon Turney <jon.turney@dronecode.org.uk> * bfd.c: Change struct bfd_build_id to use bfd_size_type. * bfd-in2.h : Regenerate.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index e60f358..8d85de5 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -53,7 +53,7 @@ CODE_FRAGMENT
.
.struct bfd_build_id
. {
-. size_t size;
+. bfd_size_type size;
. bfd_byte data[1];
. };
.