* grub-core/fs/ext2.c (EXT2_BLOCK_SIZE): Make unsigned.
This commit is contained in:
parent
a105d3755b
commit
6673d8e7b6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-10-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/ext2.c (EXT2_BLOCK_SIZE): Make unsigned.
|
||||
|
||||
2013-10-25 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/gptsync.c (lba_to_chs): Use proper types rather
|
||||
|
|
|
@ -58,7 +58,7 @@ GRUB_MOD_LICENSE ("GPLv3+");
|
|||
(grub_le_to_cpu32 (data->sblock.log2_block_size) + 10)
|
||||
|
||||
/* The size of an ext2 block in bytes. */
|
||||
#define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE (data))
|
||||
#define EXT2_BLOCK_SIZE(data) (1U << LOG2_BLOCK_SIZE (data))
|
||||
|
||||
/* The revision level. */
|
||||
#define EXT2_REVISION(data) grub_le_to_cpu32 (data->sblock.revision_level)
|
||||
|
|
Loading…
Reference in a new issue