summaryrefslogtreecommitdiffstats
path: root/xlators/storage/bdb
diff options
context:
space:
mode:
authorAnand V. Avati <avati@gluster.com>2009-04-11 00:54:29 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:58:25 +0530
commit4f81149489ae80b20ac28d1fdbe48ee56d0a181b (patch)
tree64e9fe0b22ca1e1068ab2d17ad568c180839ca13 /xlators/storage/bdb
parent45c4fb76dfd0756ebd86bf431f5b5761068901b5 (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/bdb')
-rw-r--r--xlators/storage/bdb/src/bdb-ll.c4
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 59d431d82..6c9aa56be 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;
}