aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elf_ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf_ops.h b/elf_ops.h
index fe2ef9ba9a..173d12f05a 100644
--- a/elf_ops.h
+++ b/elf_ops.h
@@ -146,7 +146,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend,
struct elf_phdr *phdr = NULL, *ph;
int size, i, total_size;
elf_word mem_size;
- target_phys_addr_t addr, low = 0, high = 0;
+ uint64_t addr, low = 0, high = 0;
uint8_t *data = NULL;
if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))