summaryrefslogtreecommitdiff
path: root/src/cut.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-25 15:33:28 +0000
committerJim Meyering <jim@meyering.net>2003-10-25 15:33:28 +0000
commit24a7d395e370a8707873ea2a759fcc491968884e (patch)
tree2d21b3e43bb662d325e234e933fc3cbb37a4283f /src/cut.c
parentc965791d3e8c90da71e5dcb0f0c3be341459b885 (diff)
downloadcoreutils-24a7d395e370a8707873ea2a759fcc491968884e.tar.xz
(hash_int): Adjust to reflect
type changes (unsigned int -> size_t) in hash.c.
Diffstat (limited to 'src/cut.c')
-rw-r--r--src/cut.c4
1 files changed, 2 insertions, 2 deletions
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);