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:
authorRussell Belfer <rb@github.com>2013-05-07 20:59:53 +0400
committerRussell Belfer <rb@github.com>2013-05-07 20:59:53 +0400
commit0f938c6b8fbddc8810b05603c29751c0b5b7323c (patch)
treee8269d91eb4018f4ccff11ab164a27fdc0bd00eb /tests-clar/object
parent33665410d636c9f5f0d5e017fe6347260b1b6ec1 (diff)
Fix win32 type warnings
Diffstat (limited to 'tests-clar/object')
-rw-r--r--tests-clar/object/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/object/cache.c b/tests-clar/object/cache.c
index e06760e2a..b927b2514 100644
--- a/tests-clar/object/cache.c
+++ b/tests-clar/object/cache.c
@@ -80,7 +80,7 @@ void test_object_cache__cache_everything(void)
cl_assert_equal_i(count + 1, (int)git_cache_size(&g_repo->objects));
}
- cl_assert_equal_i(i, git_cache_size(&g_repo->objects) - start);
+ cl_assert_equal_i(i, (int)git_cache_size(&g_repo->objects) - start);
git_odb_free(odb);
@@ -135,7 +135,7 @@ void test_object_cache__cache_no_blobs(void)
}
}
- cl_assert_equal_i(nonblobs, git_cache_size(&g_repo->objects) - start);
+ cl_assert_equal_i(nonblobs, (int)git_cache_size(&g_repo->objects) - start);
git_odb_free(odb);
}