Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/refs/listall.c')
-rw-r--r--tests-clar/refs/listall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/refs/listall.c b/tests-clar/refs/listall.c
index 4aa7051c8..7f1de74cc 100644
--- a/tests-clar/refs/listall.c
+++ b/tests-clar/refs/listall.c
@@ -6,10 +6,10 @@ static git_strarray ref_list;
static void ensure_no_refname_starts_with_a_forward_slash(const char *path)
{
- int i;
+ size_t i;
cl_git_pass(git_repository_open(&repo, path));
- cl_git_pass(git_reference_listall(&ref_list, repo, GIT_REF_LISTALL));
+ cl_git_pass(git_reference_list(&ref_list, repo, GIT_REF_LISTALL));
cl_assert(ref_list.count > 0);