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>2012-11-22 03:39:03 +0400
committerBen Straub <bs@github.com>2012-11-28 01:18:29 +0400
commita8122b5d4a179456b1a1d9af8d09313e22bfab8d (patch)
tree0c761b335489f93a6db1aecdde506a037c64dd92 /tests-clar/stash
parent4604a65460b42ee4b3fead03dbb92197d583cc65 (diff)
Fix warnings on Win64 build
Diffstat (limited to 'tests-clar/stash')
-rw-r--r--tests-clar/stash/drop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/stash/drop.c b/tests-clar/stash/drop.c
index 26b571736..c146e90ec 100644
--- a/tests-clar/stash/drop.c
+++ b/tests-clar/stash/drop.c
@@ -91,13 +91,13 @@ void test_stash_drop__dropping_an_entry_rewrites_reflog_history(void)
push_three_states();
cl_git_pass(git_reference_lookup(&stash, repo, "refs/stash"));
-
+
cl_git_pass(git_reflog_read(&reflog, stash));
entry = git_reflog_entry_byindex(reflog, 1);
git_oid_cpy(&oid, git_reflog_entry_id_old(entry));
count = git_reflog_entrycount(reflog);
-
+
git_reflog_free(reflog);
cl_git_pass(git_stash_drop(repo, 1));
@@ -106,7 +106,7 @@ void test_stash_drop__dropping_an_entry_rewrites_reflog_history(void)
entry = git_reflog_entry_byindex(reflog, 0);
cl_assert_equal_i(0, git_oid_cmp(&oid, git_reflog_entry_id_old(entry)));
- cl_assert_equal_i(count - 1, git_reflog_entrycount(reflog));
+ cl_assert_equal_sz(count - 1, git_reflog_entrycount(reflog));
git_reflog_free(reflog);