summaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-05-02 20:30:38 +0930
committerAlan Modra <amodra@gmail.com>2023-05-03 14:47:34 +0930
commitd659ef954399b0b1693d1cd02dbac222100b9aa2 (patch)
treefcf2497da0b88d7a8fba92a9840a770b6dc57e67 /bfd/bfd-in2.h
parentf68912e8310e28ffdfa8a16e0f3db4bcb5b2f620 (diff)
downloadbinutils-gdb-d659ef954399b0b1693d1cd02dbac222100b9aa2.tar.gz
hash.c: replace some unsigned long with unsigned int
* hash.c (higher_prime_number): Use uint32_t param, return value, tables and variables. (bfd_default_hash_table_size): Make it an unsigned int. (bfd_hash_set_default_size): Use unsigned int param and return. * bfd-in.h (bfd_hash_set_default_size): Update prototype. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index c7bcd5f51fb..f5e1c1380c0 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -340,7 +340,7 @@ extern void bfd_hash_traverse
/* Allows the default size of a hash table to be configured. New hash
tables allocated using bfd_hash_table_init will be created with
this size. */
-extern unsigned long bfd_hash_set_default_size (unsigned long);
+extern unsigned int bfd_hash_set_default_size (unsigned int);
/* This structure is used to keep track of stabs in sections
information while linking. */