@ -949,7 +949,7 @@ int nth_packed_object_sha1(const struct packed_git *p, int n,
@@ -949,7 +949,7 @@ int nth_packed_object_sha1(const struct packed_git *p, int n,
int find_pack_entry_one(const unsigned char *sha1,
struct pack_entry *e, struct packed_git *p)
{
int *level1_ofs = p->index_base;
unsigned int *level1_ofs = p->index_base;
int hi = ntohl(level1_ofs[*sha1]);
int lo = ((*sha1 == 0x0) ? 0 : ntohl(level1_ofs[*sha1 - 1]));