Fix notes to use new fixed iterator signature

This commit is contained in:
Russell Belfer 2012-05-15 14:51:30 -07:00
parent 41a82592ef
commit 58ffeb9cde

View File

@ -523,7 +523,7 @@ int git_note_foreach(
if (git_tree_lookup(&tree, repo, &tree_oid) < 0)
goto cleanup;
if (git_iterator_for_tree(repo, tree, &iter) < 0)
if (git_iterator_for_tree(&iter, repo, tree) < 0)
goto cleanup;
if (git_iterator_current(iter, &item) < 0)