diff --git a/grub-core/fs/xfs.c b/grub-core/fs/xfs.c index f00e43e7d..724929155 100644 --- a/grub-core/fs/xfs.c +++ b/grub-core/fs/xfs.c @@ -361,7 +361,7 @@ grub_xfs_inode_offset (struct grub_xfs_data *data, static inline grub_size_t grub_xfs_inode_size(struct grub_xfs_data *data) { - return 1 << data->sblock.log2_inode; + return (grub_size_t)1 << data->sblock.log2_inode; } /*