Fix declarations of previous commit

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-28 00:46:09 +01:00
parent c85184ad3d
commit f704cae368
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ typedef grub_efi_status_t
(*grub_efi_gop_query_mode_t) (struct grub_efi_gop *this,
grub_efi_uint32_t mode_number,
grub_efi_uintn_t *size_of_info,
struct grub_efi_gop_mode_info *info);
struct grub_efi_gop_mode_info **info);
typedef grub_efi_status_t
(*grub_efi_gop_set_mode_t) (struct grub_efi_gop *this,

View file

@ -288,7 +288,7 @@ grub_video_gop_setup (unsigned int width, unsigned int height,
return err;
}
framebuffer.ptr = (void *) gop->mode->fb_base;
framebuffer.ptr = (void *) (grub_addr_t) gop->mode->fb_base;
grub_dprintf ("video", "GOP: initialising FB @ %p %dx%dx%d\n",
framebuffer.ptr, framebuffer.mode_info.width,