summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);