summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/tests/hash_table/delete_management.c2
-rw-r--r--src/util/tests/hash_table/insert_many.c2
-rw-r--r--src/util/tests/hash_table/random_entry.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/util/tests/hash_table/delete_management.c b/src/util/tests/hash_table/delete_management.c
index 1adddc9f82f..127d81b3ca9 100644
--- a/src/util/tests/hash_table/delete_management.c
+++ b/src/util/tests/hash_table/delete_management.c
@@ -47,7 +47,7 @@ main(int argc, char **argv)
{
struct hash_table *ht;
struct hash_entry *entry;
- int size = 10000;
+ unsigned size = 10000;
uint32_t keys[size];
uint32_t i;
diff --git a/src/util/tests/hash_table/insert_many.c b/src/util/tests/hash_table/insert_many.c
index f2497e06f78..b07e40842bf 100644
--- a/src/util/tests/hash_table/insert_many.c
+++ b/src/util/tests/hash_table/insert_many.c
@@ -47,7 +47,7 @@ main(int argc, char **argv)
{
struct hash_table *ht;
struct hash_entry *entry;
- int size = 10000;
+ unsigned size = 10000;
uint32_t keys[size];
uint32_t i;
diff --git a/src/util/tests/hash_table/random_entry.c b/src/util/tests/hash_table/random_entry.c
index d3034dfc3b9..d1bc44aeb30 100644
--- a/src/util/tests/hash_table/random_entry.c
+++ b/src/util/tests/hash_table/random_entry.c
@@ -53,7 +53,7 @@ main(int argc, char **argv)
{
struct hash_table *ht;
struct hash_entry *entry;
- int size = 10000;
+ unsigned size = 10000;
uint32_t keys[size];
uint32_t i, random_value;