diff options
Diffstat (limited to 'src/vector.h')
| -rw-r--r-- | src/vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.h b/src/vector.h index 6d820b8fc..46129f17b 100644 --- a/src/vector.h +++ b/src/vector.h @@ -55,7 +55,7 @@ GIT_INLINE(int) git_vector_bsearch2( return git_vector_bsearch3(NULL, v, cmp, key); } -GIT_INLINE(void *) git_vector_get(git_vector *v, size_t position) +GIT_INLINE(void *) git_vector_get(const git_vector *v, size_t position) { return (position < v->length) ? v->contents[position] : NULL; } |
