2008-07-01 Pavel Roskin <proski@gnu.org>
* loader/i386/pc/multiboot2.c (grub_mb2_arch_module_alloc): Use cast to suppress a warning.
This commit is contained in:
parent
29d7e38ad8
commit
b8789f6c20
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-07-01 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* loader/i386/pc/multiboot2.c (grub_mb2_arch_module_alloc): Use
|
||||
cast to suppress a warning.
|
||||
|
||||
* fs/afs.c (grub_afs_read_block): Return grub_disk_addr_t, as
|
||||
grub_fshelp_read_file() expects.
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ grub_mb2_arch_module_alloc (grub_size_t size, grub_addr_t *addr)
|
|||
{
|
||||
grub_addr_t modaddr;
|
||||
|
||||
modaddr = grub_memalign (MULTIBOOT2_MOD_ALIGN, size);
|
||||
modaddr = (grub_addr_t) grub_memalign (MULTIBOOT2_MOD_ALIGN, size);
|
||||
if (! modaddr)
|
||||
return grub_errno;
|
||||
|
||||
|
|
Loading…
Reference in a new issue