* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Add missing cast to silence warning.
This commit is contained in:
parent
5ae5c54c7e
commit
9eec9699b9
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2013-11-23 Keshav Padram Amburay <the.ridikulus.rat@gmail.com>
|
||||||
|
|
||||||
* util/grub-install.c (update_nvram): Support --no-nvram flag
|
* util/grub-install.c (update_nvram): Support --no-nvram flag
|
||||||
|
|
|
@ -396,7 +396,7 @@ grub_machine_get_bootlocation (char **device, char **path)
|
||||||
const char *syspart = 0;
|
const char *syspart = 0;
|
||||||
|
|
||||||
if (GRUB_ARC_SYSTEM_PARAMETER_BLOCK->firmware_vector_length
|
if (GRUB_ARC_SYSTEM_PARAMETER_BLOCK->firmware_vector_length
|
||||||
>= ((char *) (&GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable + 1)
|
>= (unsigned) ((char *) (&GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable + 1)
|
||||||
- (char *) GRUB_ARC_FIRMWARE_VECTOR)
|
- (char *) GRUB_ARC_FIRMWARE_VECTOR)
|
||||||
&& GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable)
|
&& GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable)
|
||||||
syspart = GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable ("SystemPartition");
|
syspart = GRUB_ARC_FIRMWARE_VECTOR->getenvironmentvariable ("SystemPartition");
|
||||||
|
|
Loading…
Reference in a new issue