* 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:
Vladimir 'phcoder' Serbinenko 2011-01-12 11:52:51 +01:00
parent b44a558c9a
commit b8494fbe5c
4 changed files with 12 additions and 3 deletions

View file

@ -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)