From: Junio C Hamano Date: Thu, 13 Feb 2014 19:51:19 GMT Subject: Re: [PATCH 1/2] tree-diff: rework diff_tree() to generate diffs for multiparent cases as well Message-ID: In-Reply-To: <1dd9ca564e00ef235875aae4944675f53dcd25a3.1392299516.git.kirr@mns.spb.ru> Kirill Smelkov 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]