mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(hash_int): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
This commit is contained in:
1 parent
c965791d3e
commit
24a7d395e3
1 file changed
+2
-2
@@ -239,8 +239,8 @@ is_printable_field (unsigned int i)
|
||||
return (printable_field[n] >> (i % CHAR_BIT)) & 1;
|
||||
}
|
||||
|
||||
unsigned int
|
||||
hash_int (const void *x, unsigned int tablesize)
|
||||
static size_t
|
||||
hash_int (const void *x, size_t tablesize)
|
||||
{
|
||||
unsigned int y = (unsigned int) x;
|
||||
return (y % tablesize);
|
||||
|
||||
Reference in new issue
Block a user