diff options
author | 2010-01-06 15:58:47 +0000 | |
---|---|---|
committer | 2010-01-06 15:58:47 +0000 | |
commit | ca5e8764f2e35e649ce6b2571f6544575ceca314 (patch) | |
tree | a9746a684020f6c57ab7a4e6a20c4e1fc4bf020c /src/ldplayer | |
parent | 2691e9502c8883f3cebe3a53d7cd3fb35b8bd750 (diff) |
Fix compilation. No whatsnew.
Diffstat (limited to 'src/ldplayer')
-rw-r--r-- | src/ldplayer/ldplayer.c | 4 |
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; |