Commit d44b29c21e28ca2045c19122d69f7565544dd58b
1 parent
070893f4
address printing fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@324 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
disas.c
... | ... | @@ -42,7 +42,7 @@ perror_memory (status, memaddr, info) |
42 | 42 | /* Actually, address between memaddr and memaddr + len was |
43 | 43 | out of bounds. */ |
44 | 44 | (*info->fprintf_func) (info->stream, |
45 | - "Address 0x%x is out of bounds.\n", memaddr); | |
45 | + "Address 0x%llx is out of bounds.\n", memaddr); | |
46 | 46 | } |
47 | 47 | |
48 | 48 | /* This could be in a separate file, to save miniscule amounts of space |
... | ... | @@ -57,7 +57,7 @@ generic_print_address (addr, info) |
57 | 57 | bfd_vma addr; |
58 | 58 | struct disassemble_info *info; |
59 | 59 | { |
60 | - (*info->fprintf_func) (info->stream, "0x%x", addr); | |
60 | + (*info->fprintf_func) (info->stream, "0x%llx", addr); | |
61 | 61 | } |
62 | 62 | |
63 | 63 | /* Just return the given address. */ | ... | ... |