mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
2005-01-20 Marco Gerards <metgerards@student.han.nl>
* include/grub/mm.h (grub_mm_init_region): Change the type of the `unsigned' arguments to `grub_size_t'. (grub_malloc): Likewise. (grub_realloc): Likewise. (grub_memalign): Likewise. * kern/i386/dl.c (grub_arch_dl_check_header): Likewise. * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise. * util/misc.c (grub_malloc): Likewise. (grub_realloc): Likewise. * kern/mm.c (get_header_from_pointer): Change the casts to `unsigned' into a cast to `grub_size_t'. * fs/fshelp.c (grub_fshelp_find_file): The `oldnode' should always point to `currnode' when `currnode' is changed. * util/grub-emu.c (main): Initialize `progname'. Reported by Nico Schottelius <nico-linux@schottelius.org>.
This commit is contained in:
1 parent
d0ff18e182
commit
777aff3957
8 files changed
+35
-13
No files matched your search
+1
-1
@@ -25,7 +25,7 @@
|
||||
|
||||
/* Check if EHDR is a valid ELF header. */
|
||||
int
|
||||
grub_arch_dl_check_header (void *ehdr, unsigned size)
|
||||
grub_arch_dl_check_header (void *ehdr, grub_size_t size)
|
||||
{
|
||||
Elf32_Ehdr *e = ehdr;
|
||||
|
||||
|
||||
Reference in new issue
Block a user