]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack-bitmap-write.c
Merge branch 'js/range-diff-wo-dotdot'
[thirdparty/git.git] / pack-bitmap-write.c
index f21259dfc82fc556e698524e24193d2b584d5149..88d9e696a546a8db20d3ff7147a1bb15f8651d36 100644 (file)
@@ -610,9 +610,9 @@ static inline void dump_bitmap(struct hashfile *f, struct ewah_bitmap *bitmap)
                die("Failed to write bitmap index");
 }
 
-static const struct object_id *oid_access(size_t pos, void *table)
+static const struct object_id *oid_access(size_t pos, const void *table)
 {
-       struct pack_idx_entry **index = table;
+       const struct pack_idx_entry * const *index = table;
        return &index[pos]->oid;
 }