diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-04-23 17:28:11 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-04-23 17:28:11 -0700 |
| commit | f9f2344bd4ba6c81a96959509ba59f8563b60265 (patch) | |
| tree | bb429dc1d066d433ab39076d3369cde56a48bc83 /tests | |
| parent | 4795807ad5b4827ff4bdb801641ce8a4d5a8557e (diff) | |
| parent | 26515e73a11b6f6c25e316ece2a6243aba7af9f5 (diff) | |
| download | libgit2-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.c | 2 | ||||
| -rw-r--r-- | tests/test_helpers.c | 2 |
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); |
