]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(hash_int): Adjust to reflect
authorJim Meyering <jim@meyering.net>
Sat, 25 Oct 2003 15:33:28 +0000 (15:33 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 25 Oct 2003 15:33:28 +0000 (15:33 +0000)
type changes (unsigned int -> size_t) in hash.c.

src/cut.c

index f24160928fcc5f36b661acf9b70c0060100062d0..9ed4f866a581a69199c0623815f25568514e536a 100644 (file)
--- 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);