summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/ldplayer/ldplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldplayer/ldplayer.c b/src/ldplayer/ldplayer.c
index dade07800b0..4ce6d6998bc 100644
--- a/src/ldplayer/ldplayer.c
+++ b/src/ldplayer/ldplayer.c
@@ -284,7 +284,7 @@ INLINE void pr8210_add_command(UINT8 command)
static TIMER_CALLBACK( pr8210_bit_off_callback )
{
- const device_config *laserdisc = ptr;
+ const device_config *laserdisc = (const device_config *)ptr;
/* deassert the control line */
laserdisc_line_w(laserdisc, LASERDISC_LINE_CONTROL, CLEAR_LINE);
@@ -294,7 +294,7 @@ static TIMER_CALLBACK( pr8210_bit_off_callback )
static TIMER_CALLBACK( pr8210_bit_callback )
{
attotime duration = ATTOTIME_IN_MSEC(30);
- const device_config *laserdisc = ptr;
+ const device_config *laserdisc = (const device_config *)ptr;
UINT8 bitsleft = param >> 16;
UINT8 data = param;