[Parted-maintainers] Bug#286462: FTBFS in experimental

Colin Watson Colin Watson <cjwatson@debian.org>, 286462@bugs.debian.org
Tue, 21 Dec 2004 13:57:20 +0000


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.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]