X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=elf_ops.h;h=173d12f05a7212888c354615c04dd614ab966e9e;hb=d7e4b87e53923542c1a7220e08bcae2252f5a22e;hp=75cbdedda798110b60f8ed416666da8d24fc1589;hpb=3b46e6242767a2c770c0aba0a6595e9511623c92;p=qemu diff --git a/elf_ops.h b/elf_ops.h index 75cbded..173d12f 100644 --- a/elf_ops.h +++ b/elf_ops.h @@ -145,8 +145,8 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend, struct elfhdr ehdr; struct elf_phdr *phdr = NULL, *ph; int size, i, total_size; - elf_word low = 0, high = 0; - elf_word mem_size, addr; + elf_word mem_size; + uint64_t addr, low = 0, high = 0; uint8_t *data = NULL; if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))