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

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

No files matched your search

+1 -1
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