Re: [PATCH 03/11] Use new compress helpers in fast-import
Marco Costalba <mcostalba@gmail.com> wrote:
Show 17 quoted lines
> diff --git a/fast-import.c b/fast-import.c
> index a523b17..b6bb84c 100644
> --- a/fast-import.c
> +++ b/fast-import.c
> @@ -997,13 +998,13 @@ static int store_object(
> unsigned char *sha1out,
> uintmax_t mark)
> {
> - void *out, *delta;
> + unsigned char *out, *delta;
> struct object_entry *e;
> unsigned char hdr[96];
> unsigned char sha1[20];
> unsigned long hdrlen, deltalen;
> SHA_CTX c;
> - z_stream s;
> + int out_size;This really should be a size_t, shouldn't it?
--
Shawn.