From: Jim Meyering Date: Sat, 25 Oct 2003 15:33:28 +0000 (+0000) Subject: (hash_int): Adjust to reflect X-Git-Tag: v5.1.0~302 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24a7d395e370a8707873ea2a759fcc491968884e;p=thirdparty%2Fcoreutils.git (hash_int): Adjust to reflect type changes (unsigned int -> size_t) in hash.c. --- diff --git a/src/cut.c b/src/cut.c index f24160928f..9ed4f866a5 100644 --- a/src/cut.c +++ b/src/cut.c @@ -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);