diff options
author | Ben Straub <bs@github.com> | 2012-11-21 06:57:46 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-28 01:18:28 +0400 |
commit | f45d51ff8e04c6849413c13aedcf5abacc3c69bd (patch) | |
tree | dab9495e4954677f12475d8335cd2ea9e752f24e /src/iterator.c | |
parent | d9023dbe0cb5d47e30d86149701b7be9006f7683 (diff) |
API updates for index.h
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 ec3c08ee7..469913d3b 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -337,7 +337,7 @@ static int index_iterator__current( git_iterator *self, const git_index_entry **entry) { index_iterator *ii = (index_iterator *)self; - git_index_entry *ie = git_index_get_byindex(ii->index, ii->current); + const git_index_entry *ie = git_index_get_byindex(ii->index, ii->current); if (ie != NULL && ii->base.end != NULL && |