mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(dev_ino_hash): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
This commit is contained in:
1 parent
7795d5d04a
commit
b2c8266f8b
1 file changed
+2
-2
@@ -911,8 +911,8 @@ dired_dump_obstack (const char *prefix, struct obstack *os)
|
||||
}
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
dev_ino_hash (void const *x, unsigned int table_size)
|
||||
static size_t
|
||||
dev_ino_hash (void const *x, size_t table_size)
|
||||
{
|
||||
struct dev_ino const *p = x;
|
||||
return (uintmax_t) p->st_ino % table_size;
|
||||
|
||||
Reference in new issue
Block a user