summaryrefslogtreecommitdiffstats
path: root/src/devices/imagedev
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev')
-rw-r--r--src/devices/imagedev/flopdrv.h2
-rw-r--r--src/devices/imagedev/midiin.h2
-rw-r--r--src/devices/imagedev/printer.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/imagedev/flopdrv.h b/src/devices/imagedev/flopdrv.h
index 1546eec8546..11182f2dc00 100644
--- a/src/devices/imagedev/flopdrv.h
+++ b/src/devices/imagedev/flopdrv.h
@@ -88,7 +88,7 @@ struct chrn_id
#define FLOPPY_DRIVE_INDEX 0x0020
#define MCFG_LEGACY_FLOPPY_IDX_CB(_devcb) \
- devcb = &downcast<legacy_floppy_image_device &>(*device).set_out_idx_func(DEVCB_##_devcb);
+ downcast<legacy_floppy_image_device &>(*device).set_out_idx_func(DEVCB_##_devcb);
class legacy_floppy_image_device : public device_t,
public device_image_interface
diff --git a/src/devices/imagedev/midiin.h b/src/devices/imagedev/midiin.h
index aaba86fc2d1..b429bc4f65f 100644
--- a/src/devices/imagedev/midiin.h
+++ b/src/devices/imagedev/midiin.h
@@ -16,7 +16,7 @@
#include "diserial.h"
#define MCFG_MIDIIN_INPUT_CB(_devcb) \
- devcb = &downcast<midiin_device &>(*device).set_input_callback(DEVCB_##_devcb);
+ downcast<midiin_device &>(*device).set_input_callback(DEVCB_##_devcb);
/***************************************************************************
diff --git a/src/devices/imagedev/printer.h b/src/devices/imagedev/printer.h
index 41f2dbb03cd..099d19cab9e 100644
--- a/src/devices/imagedev/printer.h
+++ b/src/devices/imagedev/printer.h
@@ -14,7 +14,7 @@
#pragma once
#define MCFG_PRINTER_ONLINE_CB(_devcb) \
- devcb = &downcast<printer_image_device &>(*device).set_online_callback(DEVCB_##_devcb);
+ downcast<printer_image_device &>(*device).set_online_callback(DEVCB_##_devcb);
/***************************************************************************
TYPE DEFINITIONS