Use ULL suffix in constants
authorRichard Yao <ryao@cs.stonybrook.edu>
Mon, 9 Jul 2012 23:41:28 +0000 (19:41 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 10 Jul 2012 18:31:55 +0000 (11:31 -0700)
commita3873583c2128c6a41e640fe35f544f8c54848d8
treef78ae6e43a455aa8a2fdf64c53509240bef33729
parent42d3b990cfba9906e25bbf6b60e96389244f8082
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
include/sys/zfs_ctldir.h