]> Git Repo - qemu.git/blobdiff - disas.c
C99 64 bit printf
[qemu.git] / disas.c
diff --git a/disas.c b/disas.c
index c38da08fd1069d4632b1ebcb36357e8f414bf801..fd91b9220abff38d4cd4ea2bc0adad1d6603200c 100644 (file)
--- a/disas.c
+++ b/disas.c
@@ -58,7 +58,7 @@ perror_memory (status, memaddr, info)
     /* Actually, address between memaddr and memaddr + len was
        out of bounds.  */
     (*info->fprintf_func) (info->stream,
-                          "Address 0x%llx is out of bounds.\n", memaddr);
+                          "Address 0x%" PRIx64 " is out of bounds.\n", memaddr);
 }
 
 /* This could be in a separate file, to save miniscule amounts of space
@@ -73,7 +73,7 @@ generic_print_address (addr, info)
      bfd_vma addr;
      struct disassemble_info *info;
 {
-    (*info->fprintf_func) (info->stream, "0x%llx", addr);
+    (*info->fprintf_func) (info->stream, "0x%" PRIx64, addr);
 }
 
 /* Just return the given address.  */
This page took 0.022962 seconds and 4 git commands to generate.