mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Fix casts when compiling coreboot-specific code for 64-bit EFI.
This commit is contained in:
1 parent
93d8479b70
commit
4aa237c8a4
3 files changed
+7
-2
No files matched your search
+1
-1
@@ -331,7 +331,7 @@ init_cbfsdisk (void)
|
||||
struct cbfs_header *head;
|
||||
|
||||
ptr = *(grub_uint32_t *) 0xfffffffc;
|
||||
head = (struct cbfs_header *) ptr;
|
||||
head = (struct cbfs_header *) (grub_addr_t) ptr;
|
||||
|
||||
if (!validate_head (head))
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user