diff options
author | Anand V. Avati <avati@gluster.com> | 2009-04-11 00:54:29 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:58:25 +0530 |
commit | 4f81149489ae80b20ac28d1fdbe48ee56d0a181b (patch) | |
tree | 64e9fe0b22ca1e1068ab2d17ad568c180839ca13 /xlators/storage | |
parent | 45c4fb76dfd0756ebd86bf431f5b5761068901b5 (diff) |
prefix ULL to large constants (to fix bdb build warning)
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/storage')
-rw-r--r-- | xlators/storage/bdb/src/bdb-ll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/bdb/src/bdb-ll.c b/xlators/storage/bdb/src/bdb-ll.c index 59d431d8257..6c9aa56be22 100644 --- a/xlators/storage/bdb/src/bdb-ll.c +++ b/xlators/storage/bdb/src/bdb-ll.c @@ -40,8 +40,8 @@ bdb_inode_transform (ino_t parent, hash = gf_dm_hashfn (name, namelen); - ino = (((parent << 32) | 0x00000000ffffffff) - & (hash | 0xffffffff00000000)); + ino = (((parent << 32) | 0x00000000ffffffffULL) + & (hash | 0xffffffff00000000ULL)); return ino; } |