Subject: Re: [PATCH 1/2] tree-diff: rework diff_tree() to generate diffs for multiparent cases as well

From: Junio C Hamano <[email-masked]>
Date: Thu, 13 Feb 2014 11:51:19 -0800

Kirill Smelkov <[email-masked]> 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]