* grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Fix cast in

BSS clearing.
This commit is contained in:
Leon Drugi 2013-04-27 21:16:55 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent e7b8fd08c5
commit 43168646d8
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-04-27 Leon Drugi <eyak>
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Fix cast in
BSS clearing.
2013-04-27 Vladimir Serbinenko <phcoder@gmail.com>
Core compression test.

View file

@ -251,7 +251,7 @@ grub_multiboot_load (grub_file_t file, const char *filename)
}
if (addr_tag->bss_end_addr)
grub_memset ((grub_uint32_t *) source + load_size, 0,
grub_memset ((grub_uint8_t *) source + load_size, 0,
addr_tag->bss_end_addr - addr_tag->load_addr - load_size);
}
else