Skip to content

Commit d86b9f7

Browse files
Colin StolleyEdward Thomson
andauthored
Update src/refdb_fs.c
Co-authored-by: Edward Thomson <ethomson@github.com>
1 parent 678c9dd commit d86b9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/refdb_fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ static int packed_lookup(
651651
return packed_unsorted_lookup(out, backend, ref_name);
652652

653653
left = backend->packed_refs_map.data;
654-
right = data_end = ((const char *)backend->packed_refs_map.data) +
654+
right = data_end = backend->packed_refs_map.data +
655655
backend->packed_refs_map.len;
656656

657657
while (left < right && *left == '#') {

0 commit comments

Comments
 (0)