Re: [PATCH v4 13/14] builtin/update-index.c: cleanup update_one
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 7, 2013, 21:40 UTC
- Message-ID
- <xmqqwqkjq49v.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <527BA738.9000104@gmail.com>
Karsten Blees <karsten.blees@gmail.com> writes:
> - if (p < path || p > path + strlen(path)) > - free((char *)p); > + free(p);
The non-const cast was there for a reason. I'll locally fix it up (there is another instance of the same) to get it compile before queuing it on 'pu'.
Thanks.