t/helper/test-pack-deltas: widen `do_compress()`'s maxsize local to `size_t`

Prep for the upcoming `git_deflate_bound()` widening to `size_t`. The local is only ever the return value of `git_deflate_bound()` and the `xmalloc()`/`stream.avail_out` sizes derived from it; widening it has no semantic effect today. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Jul 9, 2026 at 16:49 UTC 620e7dc2a5511f486b49957e211c6c569270225a
1 file changed +1 -1
t/helper/test-pack-deltas.c
+1 -1
@@ -22,7 +22,7 @@ static unsigned long do_compress(void **pptr, unsigned long size)
22 {
23 git_zstream stream;
24 void *in, *out;
25 - unsigned long maxsize;
25 + size_t maxsize;
26
27 git_deflate_init(&stream, 1);
28 maxsize = git_deflate_bound(&stream, size);