diff --git a/disas.c b/disas.c index dc1957b9621d47b1742d6e544a96276ae110a798..8a44e91477dadf1adc98c43077080a922ad5373f 100644 --- a/disas.c +++ b/disas.c @@ -42,7 +42,7 @@ perror_memory (status, memaddr, info) /* Actually, address between memaddr and memaddr + len was out of bounds. */ (*info->fprintf_func) (info->stream, - "Address 0x%x is out of bounds.\n", memaddr); + "Address 0x%llx is out of bounds.\n", memaddr); } /* This could be in a separate file, to save miniscule amounts of space @@ -57,7 +57,7 @@ generic_print_address (addr, info) bfd_vma addr; struct disassemble_info *info; { - (*info->fprintf_func) (info->stream, "0x%x", addr); + (*info->fprintf_func) (info->stream, "0x%llx", addr); } /* Just return the given address. */