From: Jim Meyering Date: Sat, 25 Oct 2003 15:32:07 +0000 (+0000) Subject: (dev_ino_hash): Adjust to reflect X-Git-Tag: v5.1.0~304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c8266f8be2b0f917a42a7231ebafb64a51eaab;p=thirdparty%2Fcoreutils.git (dev_ino_hash): Adjust to reflect type changes (unsigned int -> size_t) in hash.c. --- diff --git a/src/ls.c b/src/ls.c index 7f42953bd8..c8d471f89a 100644 --- a/src/ls.c +++ b/src/ls.c @@ -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;