summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-04-23 17:28:11 -0700
committerVicent Martí <tanoku@gmail.com>2012-04-23 17:28:11 -0700
commitf9f2344bd4ba6c81a96959509ba59f8563b60265 (patch)
treebb429dc1d066d433ab39076d3369cde56a48bc83 /tests
parent4795807ad5b4827ff4bdb801641ce8a4d5a8557e (diff)
parent26515e73a11b6f6c25e316ece2a6243aba7af9f5 (diff)
downloadlibgit2-f9f2344bd4ba6c81a96959509ba59f8563b60265.tar.gz
Merge pull request #632 from arrbee/win64-cleanup
Code clean up, including fixing warnings on Windows 64-bit build
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);