diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2010-10-11 14:27:05 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2010-10-11 14:27:05 +0000 |
commit | 1d31c17353af8093962a8f6788f7494ed9430c64 (patch) | |
tree | 86f07a97a33bd6363998a9a73b5847149ceb8315 | |
parent | c88f3468271bff428a9d95abd04d9d641fa9b8c6 (diff) |
cdi: fixed 64-bit compile (no whatsnew)
-rw-r--r-- | src/mame/drivers/cdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/cdi.c b/src/mame/drivers/cdi.c index 1d688d1c97a..193e9a72122 100644 --- a/src/mame/drivers/cdi.c +++ b/src/mame/drivers/cdi.c @@ -85,7 +85,7 @@ static INPUT_CHANGED( mcu_input ) scc68070_regs_t *scc68070 = &state->scc68070_regs; bool send = false; - switch((int)param) + switch((FPTR)param) { case 0x39: if(input_port_read(field->port->machine, "INPUT1") & 0x01) send = true; @@ -131,7 +131,7 @@ static INPUT_CHANGED( mcu_input ) scc68070_uart_rx(field->port->machine, scc68070, 0x21); scc68070_uart_rx(field->port->machine, scc68070, 0x21); scc68070_uart_rx(field->port->machine, scc68070, 0x21); - scc68070_uart_rx(field->port->machine, scc68070, (UINT8)((UINT32)param & 0x000000ff)); + scc68070_uart_rx(field->port->machine, scc68070, (UINT8)((FPTR)param & 0x000000ff)); } } |