* grub-core/normal/context.c (grub_env_context_close): Silence spurious
warning. * grub-core/normal/menu.c (grub_menu_execute_entry): Likewise. * grub-core/partmap/msdos.c (pc_partition_map_embed): Use unsigned counter.
This commit is contained in:
parent
b44a558c9a
commit
b8494fbe5c
4 changed files with 12 additions and 3 deletions
|
@ -234,7 +234,7 @@ pc_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors,
|
|||
|
||||
if (end >= *nsectors + 1)
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
*nsectors = end - 1;
|
||||
*sectors = grub_malloc (*nsectors * sizeof (**sectors));
|
||||
if (!*sectors)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue