From c2b3b0d87da30efd0df495ea2c99cce2f0b7d6c5 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Fri, 21 Jan 2022 19:38:13 -0500 Subject: commit_graph: use raw oid data The commit graph contains arrays of raw oid data, use a byte array to index into them. --- src/libgit2/commit_graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libgit2/commit_graph.h') diff --git a/src/libgit2/commit_graph.h b/src/libgit2/commit_graph.h index 45e125b9e..b78ab8177 100644 --- a/src/libgit2/commit_graph.h +++ b/src/libgit2/commit_graph.h @@ -36,7 +36,7 @@ typedef struct git_commit_graph_file { uint32_t num_commits; /* The OID Lookup table. */ - git_oid *oid_lookup; + unsigned char *oid_lookup; /* * The Commit Data table. Each entry contains the OID of the commit followed -- cgit v1.2.1