summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-13 19:00:04 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-13 19:08:50 +0200
commit6dcf53606fc7d46447176aab15954a897e19d6e5 (patch)
treeeb464d11e0c17a33af8cc33a22310bc97444beca
parent1a3d809146c95cd138bad7bd42eb923af0a23493 (diff)
libihash: fix type of max_load
Previously, int was used for the field max_load of struct hurd_ihash. There is no reason for this as far as I can tell. Furthermore, hurd_ihash_set_max_load takes an unsigned int max_load. * libihash/ihash.h (struct hurd_ihash): Use unsigned int for field max_load.
-rw-r--r--libihash/ihash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libihash/ihash.h b/libihash/ihash.h
index 6bdc9251..a24f384d 100644
--- a/libihash/ihash.h
+++ b/libihash/ihash.h
@@ -80,7 +80,7 @@ struct hurd_ihash
intptr_t locp_offset;
/* The maximum load factor in percent. */
- int max_load;
+ unsigned int max_load;
/* When freeing or overwriting an element, this function is called
with the value as the first argument, and CLEANUP_DATA as the