From 4f81149489ae80b20ac28d1fdbe48ee56d0a181b Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 11 Apr 2009 00:54:29 +0530 Subject: prefix ULL to large constants (to fix bdb build warning) Signed-off-by: Anand V. Avati --- xlators/storage/bdb/src/bdb-ll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/storage/bdb/src') 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; } -- cgit