summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/t07-hashtable.c2
-rw-r--r--tests/test_helpers.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/t07-hashtable.c b/tests/t07-hashtable.c
index 6beaeac68..4d45c7fc1 100644
--- a/tests/t07-hashtable.c
+++ b/tests/t07-hashtable.c
@@ -112,7 +112,7 @@ BEGIN_TEST(table2, "make sure the table resizes automatically")
const int objects_n = 64;
int i;
- unsigned int old_size;
+ size_t old_size;
table_item *objects;
git_hashtable *table = NULL;
diff --git a/tests/test_helpers.c b/tests/test_helpers.c
index fc0351977..a1689e34f 100644
--- a/tests/test_helpers.c
+++ b/tests/test_helpers.c
@@ -87,7 +87,7 @@ void locate_loose_object(const char *repository_folder, git_object *object, char
static const char *objects_folder = "objects/";
char *ptr, *full_path, *top_folder;
- int path_length, objects_length;
+ size_t path_length, objects_length;
assert(repository_folder && object);