From 077cd49d2e09b32de9d2ef178c7ab478654b1bc6 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Thu, 26 Jun 2008 16:33:51 +0000 Subject: GCC 64-bit compile fix --- src/emu/debug/debugcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/debug') diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index e371e9580c6..5a8c9c1ea1c 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -545,7 +545,7 @@ void debug_cpu_instruction_hook(running_machine *machine, offs_t curpc) /* check the temp running breakpoint and break if we hit it */ else if ((info->flags & DEBUG_FLAG_STOP_PC) != 0 && info->stopaddr == curpc) { - debug_console_printf("Stopped at temporary breakpoint %X on CPU %d\n", info->stopaddr, info - global.cpuinfo); + debug_console_printf("Stopped at temporary breakpoint %X on CPU %d\n", info->stopaddr, (int)(info - global.cpuinfo)); global.execution_state = EXECUTION_STATE_STOPPED; } -- cgit v1.2.3-70-g09d2