* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):

Add missing cast to silence warning.
This commit is contained in:
Vladimir Serbinenko 2013-11-23 15:35:01 +01:00
parent 5ae5c54c7e
commit 9eec9699b9
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-11-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Add missing cast to silence warning.
2013-11-23 Keshav Padram Amburay <the.ridikulus.rat@gmail.com>
* util/grub-install.c (update_nvram): Support --no-nvram flag

View file

@ -396,8 +396,8 @@ grub_machine_get_bootlocation (char **device, char **path)
const char *syspart = 0;
if (GRUB_ARC_SYSTEM_PARAMETER_BLOCK->firmware_vector_length
>= ((char *) (&GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable + 1)
- (char *) GRUB_ARC_FIRMWARE_VECTOR)
>= (unsigned) ((char *) (&GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable + 1)
- (char *) GRUB_ARC_FIRMWARE_VECTOR)
&& GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable)
syspart = GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable ("SystemPartition");
if (!syspart)