summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m24.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/m24.cpp')
-rw-r--r--src/mame/drivers/m24.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/m24.cpp b/src/mame/drivers/m24.cpp
index dd573ff22b9..4f7ce27b05d 100644
--- a/src/mame/drivers/m24.cpp
+++ b/src/mame/drivers/m24.cpp
@@ -290,7 +290,7 @@ MACHINE_CONFIG_START(m24_state::olivetti)
MCFG_DEVICE_MODIFY("mb:dma8237")
MCFG_I8237_OUT_HREQ_CB(DEVWRITELINE(":", m24_state, dma_hrq_w))
MCFG_DEVICE_MODIFY("mb:pic8259")
- devcb = &pic8259_device::static_set_out_int_callback(*device, DEVCB_DEVWRITELINE(":", m24_state, int_w));
+ devcb = &downcast<pic8259_device &>(*device).set_out_int_callback(DEVCB_DEVWRITELINE(":", m24_state, int_w));
/* software lists */
MCFG_SOFTWARE_LIST_ADD("disk_list","ibm5150")