diff --git a/ChangeLog b/ChangeLog index 9d373d72f..b75ef86df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-07-01 Pavel Roskin + * 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. diff --git a/loader/i386/pc/multiboot2.c b/loader/i386/pc/multiboot2.c index 58afa2399..49917ada8 100644 --- a/loader/i386/pc/multiboot2.c +++ b/loader/i386/pc/multiboot2.c @@ -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;