]> git.ipfire.org Git - thirdparty/gcc.git/commit
libiberty: fix type in allocation
authorMartin Liska <mliska@suse.cz>
Tue, 10 May 2022 15:31:24 +0000 (17:31 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 10 May 2022 15:32:44 +0000 (17:32 +0200)
commit5dac43b43c3999f94b451cd7925e24d8e7c38a7a
tree3674ce830052366b1f9886e11b9a668c93370075
parent9cb69e7884f829ff2d09444730ef268e0e31d560
libiberty: fix type in allocation

The allocation function alloc_f is called for nsize
items where each is of type void *.

libiberty/ChangeLog:

* hashtab.c (htab_empty): Use void * type instead of void **.
(htab_expand): Likewise.

Co-Authored-By: Alan Modra <amodra@gmail.com>
libiberty/hashtab.c