Fix declarations of previous commit
This commit is contained in:
parent
c85184ad3d
commit
f704cae368
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue