summaryrefslogtreecommitdiff
path: root/tests/repo
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-02-03 15:06:32 -0800
committerBen Straub <bs@github.com>2014-02-03 15:06:32 -0800
commiteec2761f068a0467ec5ddd140806e4cc9a6f4a58 (patch)
tree3ccc4096eb5603c136c35d183680affe966d99c1 /tests/repo
parent586be3b889c2f8955630da14b6a703cccc340d47 (diff)
downloadlibgit2-eec2761f068a0467ec5ddd140806e4cc9a6f4a58.tar.gz
Fix warning
Diffstat (limited to 'tests/repo')
-rw-r--r--tests/repo/head.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/repo/head.c b/tests/repo/head.c
index 8ea9a0f42..127176d12 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);