mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c4802d4a53
On 32-bit systems, the offsets are 'unsigned long' (32-bit) which means that we must cast the explicitly to unsigned long long before feeding them to llabs. Without the type conversion we fail to sign-extend the llabs parameter, try to make a copy/clone/dedupe call with overlapping ranges, and fsx aborts and the test fails. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>