diff options
author | Ben Straub <ben@straubnet.net> | 2012-03-30 17:30:32 +0400 |
---|---|---|
committer | Ben Straub <ben@straubnet.net> | 2012-03-30 23:05:37 +0400 |
commit | 2df029ed9b63187c35338be854cff0559a967fd5 (patch) | |
tree | 9683a78d7d73192ff18e54b581e1c38cffad3eab /tests-clar/index/tests.c | |
parent | b482c420e9d66fcd2a2b731a80a33cd85bbaf129 (diff) |
Cleaned up build issues under Linux. Had to disable a file-mode check
in tag/write.c.
Diffstat (limited to 'tests-clar/index/tests.c')
-rw-r--r-- | tests-clar/index/tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/index/tests.c b/tests-clar/index/tests.c index da763c8e6..73b00866f 100644 --- a/tests-clar/index/tests.c +++ b/tests-clar/index/tests.c @@ -104,7 +104,7 @@ void test_index_tests__default_test_index(void) cl_git_pass(git_index_open(&index, TEST_INDEX_PATH)); cl_assert(index->on_disk); - cl_assert(git_index_entrycount(index) == index_entry_count); + cl_assert(git_index_entrycount(index) == (unsigned int)index_entry_count); cl_assert(index->entries.sorted); entries = (git_index_entry **)index->entries.contents; @@ -127,7 +127,7 @@ void test_index_tests__gitgit_index(void) cl_git_pass(git_index_open(&index, TEST_INDEX2_PATH)); cl_assert(index->on_disk); - cl_assert(git_index_entrycount(index) == index_entry_count_2); + cl_assert(git_index_entrycount(index) == (unsigned int)index_entry_count_2); cl_assert(index->entries.sorted); cl_assert(index->tree != NULL); @@ -217,7 +217,7 @@ void test_index_tests__add(void) git_oid id1; /* Intialize a new repository */ - cl_git_pass(git_repository_init(&repo, "./myrepo", FALSE)); + cl_git_pass(git_repository_init(&repo, "./myrepo", 0)); /* Ensure we're the only guy in the room */ cl_git_pass(git_repository_index(&index, repo)); |