diff --git a/ChangeLog b/ChangeLog index b43aa72ba..1858a9cbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-28 Colin Watson + + * term/i386/pc/console.c (bios_data_area): Cast + GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR explicitly. + 2009-08-28 Vladimir Serbinenko 1-bit optimised blitters. diff --git a/term/i386/pc/console.c b/term/i386/pc/console.c index ec1383942..66475d456 100644 --- a/term/i386/pc/console.c +++ b/term/i386/pc/console.c @@ -21,7 +21,8 @@ #include #include -static const struct grub_machine_bios_data_area *bios_data_area = GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR; +static const struct grub_machine_bios_data_area *bios_data_area = + (struct grub_machine_bios_data_area *) GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR; #define KEYBOARD_LEFT_SHIFT (1 << 0) #define KEYBOARD_RIGHT_SHIFT (1 << 1)