From 855b1df9de488c808bc8d0d5efb02512b5cb7207 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 13 Sep 2012 11:00:37 -0500 Subject: [PATCH] Fix a compiler warning --- src/dentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dentry.c b/src/dentry.c index aec94c34..c8cb62c5 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -191,7 +191,7 @@ void stbuf_to_inode(const struct stat *stbuf, struct inode *inode) inode->ino = (u64)stbuf->st_ino; else inode->ino = (u64)stbuf->st_ino | - ((u64)stbuf->st_dev << (sizeof(ino_t) * 8)); + ((u64)stbuf->st_dev << ((sizeof(ino_t) * 8) & 63)); /* Set timestamps */ inode->creation_time = timespec_to_wim_timestamp(&stbuf->st_mtim); inode->last_write_time = timespec_to_wim_timestamp(&stbuf->st_mtim); -- 2.43.0