summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-20 16:02:25 -0800
committerBen Straub <bs@github.com>2012-11-27 13:18:28 -0800
commit54b2a37ac7715c74e5b06b76eb2b631987d7b6f8 (patch)
treee2f7441735a506de16b411a3c181a76f264c2bab /src/vector.h
parenteecc80502975df5ef3aa9027d1b8b929cd6181bd (diff)
downloadlibgit2-54b2a37ac7715c74e5b06b76eb2b631987d7b6f8.tar.gz
Clean up config.h
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h2
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;
}