diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-28 07:26:33 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-09-30 15:44:32 +0200 |
| commit | 20363d583cc843f6b7882094ec5077232e03e16a (patch) | |
| tree | cd5cc1ab569f6aa39d3ff00d9a8cc6f12bf4ddf0 /src/reflog.c | |
| parent | a2a23322193eeca5d2912c0b74c5374f8ec21737 (diff) | |
| download | libgit2-20363d583cc843f6b7882094ec5077232e03e16a.tar.gz | |
reflog: constify byindex
Diffstat (limited to 'src/reflog.c')
| -rw-r--r-- | src/reflog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflog.c b/src/reflog.c index 8e41621ea..22aa7d8ed 100644 --- a/src/reflog.c +++ b/src/reflog.c @@ -148,7 +148,7 @@ size_t git_reflog_entrycount(git_reflog *reflog) return reflog->entries.length; } -const git_reflog_entry * git_reflog_entry_byindex(git_reflog *reflog, size_t idx) +const git_reflog_entry * git_reflog_entry_byindex(const git_reflog *reflog, size_t idx) { assert(reflog); |
