summaryrefslogtreecommitdiff
path: root/tests-clar
diff options
context:
space:
mode:
authorArthur Schreiber <schreiber.arthur@googlemail.com>2013-11-05 20:51:07 +0100
committerArthur Schreiber <schreiber.arthur@googlemail.com>2013-11-05 20:51:07 +0100
commita667ca8298193b3103c1dbdcb1f6c527e6e99eb2 (patch)
treeb29cea60d4458d58cb79ae8782003c07b482063c /tests-clar
parentaad5403fe96a88689b9d22a732d464c64a72f8ff (diff)
downloadlibgit2-a667ca8298193b3103c1dbdcb1f6c527e6e99eb2.tar.gz
Change the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.
Diffstat (limited to 'tests-clar')
-rw-r--r--tests-clar/online/push.c2
-rw-r--r--tests-clar/refs/branches/iterator.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/online/push.c b/tests-clar/online/push.c
index 320ecb71e..d9ffe8aa9 100644
--- a/tests-clar/online/push.c
+++ b/tests-clar/online/push.c
@@ -182,7 +182,7 @@ static void verify_tracking_branches(git_remote *remote, expected_ref expected_r
char *actual_ref;
git_oid oid;
int failed = 0, error;
- unsigned int branch_type;
+ git_branch_t branch_type;
git_reference *ref;
/* Get current remote branches */
diff --git a/tests-clar/refs/branches/iterator.c b/tests-clar/refs/branches/iterator.c
index fb2c1a19d..904c6a146 100644
--- a/tests-clar/refs/branches/iterator.c
+++ b/tests-clar/refs/branches/iterator.c
@@ -33,7 +33,7 @@ static void assert_retrieval(unsigned int flags, unsigned int expected_count)
git_branch_iterator *iter;
git_reference *ref;
int count = 0, error;
- unsigned int type;
+ git_branch_t type;
cl_git_pass(git_branch_iterator_new(&iter, repo, flags));
while ((error = git_branch_next(&ref, &type, iter)) == 0) {
@@ -83,7 +83,7 @@ static void assert_branch_has_been_found(struct expectations *findings, const ch
static void contains_branches(struct expectations exp[], git_branch_iterator *iter)
{
git_reference *ref;
- unsigned int type;
+ git_branch_t type;
int error, pos = 0;
while ((error = git_branch_next(&ref, &type, iter)) == 0) {