summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.c
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2008-11-21 21:35:08 +0000
committer Couriersud <couriersud@users.noreply.github.com>2008-11-21 21:35:08 +0000
commit1192928c0c1fd9142bb6c8d599ebb409cdda180e (patch)
tree91e157ae5a9fd0c564a76dd74ec9339e9007bbc4 /src/emu/debug/debugcmd.c
parent5816061f8ef57e1179f04ce8deacf550bc472a68 (diff)
Fix 64bit compile
Diffstat (limited to 'src/emu/debug/debugcmd.c')
-rw-r--r--src/emu/debug/debugcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c
index 3001845098d..f9c9d998fbc 100644
--- a/src/emu/debug/debugcmd.c
+++ b/src/emu/debug/debugcmd.c
@@ -409,7 +409,7 @@ int debug_command_parameter_cpu(running_machine *machine, const char *param, con
/* if out of range, complain */
if (cpunum >= ARRAY_LENGTH(machine->cpu) || machine->cpu[cpunum] == NULL)
{
- debug_console_printf("Invalid CPU index %d\n", (UINT32)*result);
+ debug_console_printf("Invalid CPU index %d\n", (UINT32) ((FPTR)*result));
return FALSE;
}