commit 85f4e1e7d36a206d3861d49c00e207d3e7fcab80 from: Stefan Sperling date: Thu Dec 17 16:17:51 2020 UTC fix the type of variable 'idx' in update_packidx() commit - 6059809a13b5d528052e38f84661039e6565f458 commit + 85f4e1e7d36a206d3861d49c00e207d3e7fcab80 blob - 9b4ff2686ecb94be84e4c532e6734d682fb0383f blob + bcef0951dbb771b4b70ab05125138f52e08c7b7a --- libexec/got-index-pack/got-index-pack.c +++ libexec/got-index-pack/got-index-pack.c @@ -569,7 +569,7 @@ static void update_packidx(struct got_packidx *packidx, int nobj, struct got_indexed_object *obj) { - uint32_t idx; + int idx; uint32_t nindexed = be32toh(packidx->hdr.fanout_table[0xff]); idx = find_object_idx(packidx, obj->id.sha1);