The following patch changes the formatting string from %08x to TARGET_FMT_plx to accommodate for 64bit hosts.
Carlo --- Index: hw/sh7750.c =================================================================== RCS file: /sources/qemu/qemu/hw/sh7750.c,v retrieving revision 1.9 diff -u -r1.9 sh7750.c --- hw/sh7750.c 4 Oct 2007 21:53:54 -0000 1.9 +++ hw/sh7750.c 11 Nov 2007 15:27:31 -0000 @@ -180,13 +180,13 @@ static void error_access(const char *kind, target_phys_addr_t addr) { - fprintf(stderr, "%s to %s (0x%08x) not supported\n", + fprintf(stderr, "%s to %s (0x" TARGET_FMT_plx ") not supported\n", kind, regname(addr), addr); } static void ignore_access(const char *kind, target_phys_addr_t addr) { - fprintf(stderr, "%s to %s (0x%08x) ignored\n", + fprintf(stderr, "%s to %s (0x" TARGET_FMT_plx ") ignored\n", kind, regname(addr), addr); }