diff options
| author | Pierre-Olivier Latour <pol@mac.com> | 2015-04-03 18:59:11 -0700 |
|---|---|---|
| committer | Pierre-Olivier Latour <pol@mac.com> | 2015-04-03 18:59:11 -0700 |
| commit | 807566d55403ee03a9870ca0102541bfd714b4d4 (patch) | |
| tree | b4e0f693976d23a89a6c9276f980d80d26709cb6 /include/git2/index.h | |
| parent | de355f234174df291c9c40378da70114c3ba6c5d (diff) | |
| download | libgit2-807566d55403ee03a9870ca0102541bfd714b4d4.tar.gz | |
Entry argument passed to git_index_add_frombuffer() should be const
Diffstat (limited to 'include/git2/index.h')
| -rw-r--r-- | include/git2/index.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h index 1feeb6fb1..92636adeb 100644 --- a/include/git2/index.h +++ b/include/git2/index.h @@ -485,7 +485,7 @@ GIT_EXTERN(int) git_index_add_bypath(git_index *index, const char *path); */ GIT_EXTERN(int) git_index_add_frombuffer( git_index *index, - git_index_entry *entry, + const git_index_entry *entry, const void *buffer, size_t len); /** |
