From: Shawn O. Pearce Date: Mon, 04 Feb 2008 01:41:20 GMT Subject: Re: [PATCH 03/11] Use new compress helpers in fast-import Message-ID: <20080204014120.GF24004@spearce.org> In-Reply-To: <1201952156-6764-3-git-send-email-mcostalba@gmail.com> Marco Costalba wrote: > 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.