Re: [PATCH 1/2] tree-diff: rework diff_tree() to generate diffs for multiparent cases as well
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 13, 2014, 19:51 UTC
- Message-ID
- <xmqqbnyalrk8.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1dd9ca564e00ef235875aae4944675f53dcd25a3.1392299516.git.kirr@mns.spb.ru>
Kirill Smelkov <kirr@mns.spb.ru> writes:
> + /* until we go to it next round, .next holds how many bytes we > + * allocated (for faster realloc - we don't need copying old data). > + */ > + p->next = (struct combine_diff_path *)alloclen;
I am getting this here:
tree-diff.c: In function '__path_appendnew': tree-diff.c:140:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]