GCC 64-bit compile fix

This commit is contained in:
R. Belmont 2008-06-26 16:33:51 +00:00
parent 3d1376ed97
commit 077cd49d2e

View File

@ -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;
}