[Parted-maintainers] Bug#286462: FTBFS in experimental
Sven Luther
Sven Luther <sven.luther@wanadoo.fr>, 286462@bugs.debian.org
Tue, 21 Dec 2004 22:00:28 +0100
On Tue, Dec 21, 2004 at 01:57:20PM +0000, Colin Watson wrote:
> On Mon, Dec 20, 2004 at 02:11:25PM +0100, Sven Luther wrote:
> > Can you try replacing :
> >
> > rdb->rdb_PartitionList = PED_CPU_TO_BE32(part ? part_num : LINK_END);
> >
> > by :
> >
> > if (part == NULL) rdb->rdb_PartitionList = PED_CPU_TO_BE32(LINK_END);
> > else rdb->rdb_PartitionList = PED_CPU_TO_BE32(part_num);
> >
> > And see if it fixes this build problem for you ?
>
> This change solves the problem on amd64.
I guess that the proble, is that LINK_END is a 32bit value, while part_num is
an int, will have to fix that.
Friendly,
Sven Luther