summaryrefslogtreecommitdiff
path: root/src/midx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/midx.h')
-rw-r--r--src/midx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/midx.h b/src/midx.h
index 7dd851bd3..bcb0d9a0a 100644
--- a/src/midx.h
+++ b/src/midx.h
@@ -17,6 +17,7 @@
#include "map.h"
#include "mwindow.h"
#include "odb.h"
+#include "oid.h"
/*
* A multi-pack-index file.
@@ -40,7 +41,7 @@ typedef struct git_midx_file {
uint32_t num_objects;
/* The OID Lookup table. */
- git_oid *oid_lookup;
+ unsigned char *oid_lookup;
/* The Object Offsets table. Each entry has two 4-byte fields with the pack index and the offset. */
const unsigned char *object_offsets;