Re: [PATCH v3 09/16] index-helper: use watchman to avoid refreshing index with lstat()
- From
David Turner <dturner@twopensource.com>
- Date
- Apr 8, 2016, 00:14 UTC
- Message-ID
- <1460074483.5540.9.camel@twopensource.com>
- In-Reply-To
- <xmqqd1q1xc8r.fsf@gitster.mtv.corp.google.com>
On Thu, 2016-04-07 at 15:52 -0700, Junio C Hamano wrote:
Show 15 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > > > > + untracked = data + len + 8 + bitmap_size; > > > > This breaks compilation as data here is of type (void *). > > > > There may be similar breakages in this patch. > > It turns out that this is the only one, and > > untracked = (char *)data + len + 8 + bitmap_size; > > is a sufficient fix (I've squashed it in to my copy). > > Thanks.
Thanks. I've squashed it into mine as well but with const char * instead (seems maybe cleaner to me)