Commit eec2761f068a0467ec5ddd140806e4cc9a6f4a58

Ben Straub 2014-02-03T15:06:32

Fix warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/repo/head.c b/tests/repo/head.c
index 8ea9a0f..127176d 100644
--- a/tests/repo/head.c
+++ b/tests/repo/head.c
@@ -200,7 +200,7 @@ static void test_reflog(git_repository *repo, size_t idx,
 		const char *email, const char *message)
 {
 	git_reflog *log;
-	git_reflog_entry *entry;
+	const git_reflog_entry *entry;
 
 	cl_git_pass(git_reflog_read(&log, repo, "HEAD"));
 	entry = git_reflog_entry_byindex(log, idx);