summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2008-06-26 16:33:51 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2008-06-26 16:33:51 +0000
commit077cd49d2e09b32de9d2ef178c7ab478654b1bc6 (patch)
tree74a554465aef675626789e388d50a430e130f42a /src
parent3d1376ed9721ba2008ebf15cbca3226e09727c56 (diff)
GCC 64-bit compile fix
Diffstat (limited to 'src')
-rw-r--r--src/emu/debug/debugcpu.c2
1 files changed, 1 insertions, 1 deletions
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;
}