diff options
author | Colin Stolley <ccstolley@github.com> | 2022-01-13 17:23:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 17:23:01 -0600 |
commit | d86b9f7990091bcdb6aec2c71c35e9afb728fbfd (patch) | |
tree | 427031fb960c63510ee473fa4427a75b262f1ed7 | |
parent | 678c9ddf87e569758efafcb69ac844eb47255bb3 (diff) | |
download | libgit2-d86b9f7990091bcdb6aec2c71c35e9afb728fbfd.tar.gz |
Update src/refdb_fs.c
Co-authored-by: Edward Thomson <ethomson@github.com>
-rw-r--r-- | src/refdb_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c index 6b7907369..4d01adfde 100644 --- a/src/refdb_fs.c +++ b/src/refdb_fs.c @@ -651,7 +651,7 @@ static int packed_lookup( return packed_unsorted_lookup(out, backend, ref_name); left = backend->packed_refs_map.data; - right = data_end = ((const char *)backend->packed_refs_map.data) + + right = data_end = backend->packed_refs_map.data + backend->packed_refs_map.len; while (left < right && *left == '#') { |