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:
authorBen Straub <ben@straubnet.net>2012-03-30 17:30:32 +0400
committerBen Straub <ben@straubnet.net>2012-03-30 23:05:37 +0400
commit2df029ed9b63187c35338be854cff0559a967fd5 (patch)
tree9683a78d7d73192ff18e54b581e1c38cffad3eab /tests-clar/index/tests.c
parentb482c420e9d66fcd2a2b731a80a33cd85bbaf129 (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.c6
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));