mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-26 04:35:59 +00:00
xfs: silence Coverity overflow warning
inode size cannot really overflow integer, but Coverity does not know it. CID: 96602
This commit is contained in:
parent
15ba6a40be
commit
4db569ca6a
@ -361,7 +361,7 @@ grub_xfs_inode_offset (struct grub_xfs_data *data,
|
|||||||
static inline grub_size_t
|
static inline grub_size_t
|
||||||
grub_xfs_inode_size(struct grub_xfs_data *data)
|
grub_xfs_inode_size(struct grub_xfs_data *data)
|
||||||
{
|
{
|
||||||
return 1 << data->sblock.log2_inode;
|
return (grub_size_t)1 << data->sblock.log2_inode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user