]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
bfd: fix incorrect type used in sizeof
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 15 Sep 2021 10:24:49 +0000 (11:24 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 15 Sep 2021 10:32:33 +0000 (11:32 +0100)
commitb4745472b686482107c1a8d65ae99a434cd3fb5e
tree0d2222080a4f7728666d1879f7c151396398a1a7
parent3d53d4603eb467b90b81562a6f0f6d5259793944
bfd: fix incorrect type used in sizeof

Noticed in passing that we used 'sizeof (char **)' when calculating
the size of a list of 'char *' pointers.  Of course, this isn't really
going to make a difference anywhere, but we may as well be correct.

There should be no user visible changes after this commit.

bfd/ChangeLog:

* archures.c (bfd_arch_list): Use 'char *' instead of 'char **'
when calculating space for a string list.
bfd/ChangeLog
bfd/archures.c