aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/hash_table.c2
-rw-r--r--src/util/set.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/hash_table.c b/src/util/hash_table.c
index 81816d1443c..fd8e2ea244f 100644
--- a/src/util/hash_table.c
+++ b/src/util/hash_table.c
@@ -232,7 +232,7 @@ hash_table_insert(struct hash_table *ht, uint32_t hash,
const void *key, void *data);
static void
-_mesa_hash_table_rehash(struct hash_table *ht, int new_size_index)
+_mesa_hash_table_rehash(struct hash_table *ht, unsigned new_size_index)
{
struct hash_table old_ht;
struct hash_entry *table, *entry;
diff --git a/src/util/set.c b/src/util/set.c
index d170b5007bd..c3252a09401 100644
--- a/src/util/set.c
+++ b/src/util/set.c
@@ -207,7 +207,7 @@ static struct set_entry *
set_add(struct set *ht, uint32_t hash, const void *key);
static void
-set_rehash(struct set *ht, int new_size_index)
+set_rehash(struct set *ht, unsigned new_size_index)
{
struct set old_ht;
struct set_entry *table, *entry;