summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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;
}