X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=pack-objects.c;h=136a7f5aad61e8a90866ee7d0b4bc22e387f0396;hb=c7569b1e0009e0187ce9f87f23699eaa8576b6ee;hp=21ee572f48287b36628a027ab265ab58b85c90af;hpb=962554c616e30991553c8497ed1e7c2a415fa84d;p=git.git diff --git a/pack-objects.c b/pack-objects.c index 21ee572f..136a7f5a 100644 --- a/pack-objects.c +++ b/pack-objects.c @@ -99,7 +99,7 @@ static int reused_delta = 0; static int pack_revindex_ix(struct packed_git *p) { - unsigned long ui = (unsigned long)(long)p; + unsigned long ui = (unsigned long)p; int i; ui = ui ^ (ui >> 16); /* defeat structure alignment */