HomeFreeBSD

Use ULL suffix in constants

Description

Use ULL suffix in constants

The lack of the ULL suffix causes warnings such as the following on
32-bit systems:

In function 'zfsctl_is_snapdir':
zfs-0.6.0//module/zfs/zfs_ctldir.c:151: warning: integer constant
is too large for 'long' type

We add the ULL suffix to fix that.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #813

Details

Provenance
Richard Yao <ryao@cs.stonybrook.edu>Authored on Jul 9 2012, 11:41 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 10 2012, 6:31 PM
Parents
rG42d3b990cfba: Update incorrect ddt_zap_lookup() assertion
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGa3873583c212: Use ULL suffix in constants (authored by Richard Yao <ryao@cs.stonybrook.edu>).Jul 10 2012, 6:31 PM