From 24a7d395e370a8707873ea2a759fcc491968884e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 25 Oct 2003 15:33:28 +0000 Subject: (hash_int): Adjust to reflect type changes (unsigned int -> size_t) in hash.c. --- src/cut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cut.c b/src/cut.c index f24160928..9ed4f866a 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); -- cgit v1.2.3-70-g09d2