Fix warning

This commit is contained in:
Ben Straub 2014-02-03 15:06:32 -08:00
parent 586be3b889
commit eec2761f06

View File

@ -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);