diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-04-10 16:55:29 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-10 16:56:32 +0200 |
commit | 575a54db856947aeb4fc5cf1977844d22dfa1aab (patch) | |
tree | ed78187ff5d5d489888ea0740ec22c1968dbd218 /src/iterator.c | |
parent | 90431f1b80cc72c6cc4165665c9c46b6292daee5 (diff) | |
download | libgit2-575a54db856947aeb4fc5cf1977844d22dfa1aab.tar.gz |
object: Export git_object_dup
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterator.c b/src/iterator.c index 805a3c987..5b5ed9525 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -578,7 +578,7 @@ int git_iterator_for_tree( if (tree == NULL) return git_iterator_for_nothing(iter, flags, start, end); - if ((error = git_tree__dup(&tree, tree)) < 0) + if ((error = git_object_dup((git_object **)&tree, (git_object *)tree)) < 0) return error; ITERATOR_BASE_INIT(ti, tree, TREE, git_tree_owner(tree)); |