HomeFreeBSD

Cast 'zfs bad bloc' to ULL for x86

Description

Cast 'zfs bad bloc' to ULL for x86

Explicitly case this value to an unsigned long long for 32-bit
systems to inform the compiler that a long type should not be
used. Otherwise we get the following compiler error:

dmu_send.c:376: error: integer constant is too large for
‘long’ type

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 5 2013, 12:35 AM
Parents
rGa31770283a68: Fix 1M references in zpool-features.5
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGdd26aa535b39: Cast 'zfs bad bloc' to ULL for x86 (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 5 2013, 12:39 AM