]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/gdb_bfd.c
Use size_t in gdb_bfd_section_data
authorTom Tromey <tromey@adacore.com>
Fri, 15 Mar 2024 16:22:42 +0000 (10:22 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 15 Mar 2024 18:38:39 +0000 (12:38 -0600)
commit033679b18f895be91b8d94ee9973ebb3d2c0b722
treeae9f40d3ce6f1f9a08640c02dee0d1368163e454
parentd01264b71654dae83a254cf030a5cf73b66b7fbb
Use size_t in gdb_bfd_section_data

BFD recently changed bfd_mmap to use size_t, not bfd_size_type.  This
patch updates gdb_bfd_section_data to follow.  Without this patch, if
the two types ever differ, gdb would fail to build.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/gdb_bfd.c